Skip to content

Commit 40796b8

Browse files
Fixing commands
1 parent 3933a58 commit 40796b8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
"description": "",
55
"main": "src/game-server.ts",
66
"scripts": {
7-
"start": "concurrently \"npm run build\" \"node --max-old-space-size=4096 dist/main.js\"",
7+
"start": "concurrently \"npm run build:watch\" \"node --max-old-space-size=4096 dist/main.js\"",
88
"lint": "tslint --project tsconfig.json",
9-
"fake-players": "npm run cleanup && npm run build && concurrently \"npm run watch-plugins\" \"node --max-old-space-size=4096 dist/main.js -fakePlayers\"",
10-
"fake-players-tick": "npm run cleanup && npm run build && concurrently \"npm run watch-plugins\" \"node --max-old-space-size=4096 dist/main.js -fakePlayers -tickTime\"",
11-
"build": "tsc --project tsconfig.json && babel ./src --out-dir dist --extensions \".ts,.tsx,.js\" --source-maps --watch"
9+
"fake-players": "concurrently \"npm run build:watch\" \"node --max-old-space-size=4096 dist/main.js -fakePlayers\"",
10+
"fake-players-tick": "concurrently \"npm run build:watch\" \"node --max-old-space-size=4096 dist/main.js -fakePlayers -tickTime\"",
11+
"build:watch": "tsc --project tsconfig.json && babel ./src --out-dir dist --extensions \".ts,.tsx,.js\" --source-maps --watch",
12+
"build": "tsc --project tsconfig.json && babel ./src --out-dir dist --extensions \".ts,.tsx,.js\" --source-maps"
1213
},
1314
"repository": {
1415
"type": "git",

0 commit comments

Comments
 (0)