-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 2.04 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "space_shooter_server",
"version": "0.1.0",
"description": "Multiplayer server for a colyseus space shooter.",
"repository": "https://github.com/stats/space_shooter_server",
"main": "src/index.js",
"scripts": {
"start": "npm-run-all --parallel start:mongo start:server",
"start:debug": "npm-run-all --parallel start:mongo start:server:debug",
"start:server": "nodemon --ignore \"test/\" --exec node -r ts-node/register src/index.ts",
"start:server:debug": "nodemon --ignore \"test/\" --exec node --inspect -r ts-node/register src/index.ts",
"start:mongo": "mongod --dbpath ./db/development",
"test:server": "mocha --require ts-node/register test/ServerTest.ts --exit --timeout 15000",
"test:explosion": "mocha --require ts-node/register test/TestExplosionDistance.ts --exit --timeout 15000",
"test:username": "ts-node test/UsernameTest.ts",
"codegen": "npx schema-codegen src/models/Account.ts src/models/states/GameState.ts src/models/states/ShipBuilderState src/models/messages/ErrorMessage.ts src/models/messages/ShipList.ts src/models/messages/Statistics.ts src/models/messages/UnlockMessage.ts --output schema-unity --csharp",
"parseStats": "node scripts/stat_parser.js > ship_stats.json",
"lint": "npx eslint \"src/**\"",
"circular": "npx madge --circular --extensions ts ./src"
},
"author": "Dan Curran",
"license": "MIT",
"dependencies": {
"@colyseus/monitor": "^0.12.1",
"body-parser": "^1.19.0",
"colyseus": "^0.12.3",
"cors": "^2.8.5",
"express": "^4.17.1",
"intersects": "^2.7.1",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.19",
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",
"uuid": "^7.0.1"
},
"devDependencies": {
"@types/mocha": "^7.0.2",
"@types/node": "^13.9.1",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"assert": "^2.0.0",
"eslint": "^6.8.0",
"httpie": "^1.1.2",
"madge": "^3.8.0",
"mocha": "^7.1.0",
"ts-node": "^8.6.2",
"typescript": "^3.8.3"
}
}