-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
36 lines (36 loc) · 1.36 KB
/
package.json
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
{
"name": "tile-fighter",
"description": "Tile based strategy game",
"version": "0.0.1",
"private": true,
"dependencies": {
"lodash": "4.17.21",
"pixi.js": "4.8.6"
},
"devDependencies": {
"@types/lodash": "4.14.189",
"@types/pixi.js": "4.8.9",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"browserify": "17.0.0",
"eslint": "8.27.0",
"nodemon": "2.0.20",
"supervisor": "0.12.0",
"tsify": "5.0.4",
"typescript": "4.8.4",
"typescript-eslint-parser": "22.0.0",
"uglify-js": "3.17.4",
"watchify": "4.0.0"
},
"scripts": {
"init-build-dir": "mkdir -p public",
"build": "npm run init-build-dir && browserify --entry src/app.ts -p tsify -o public/bundle.js",
"build-min": "npm run init-build-dir && npm run build && node node_modules/uglify-js/bin/uglifyjs --compress -o public/bundle.js public/bundle.js",
"watch": "npm run init-build-dir && watchify src/app.ts -p tsify --debug -v -o public/bundle.js",
"eslint": "eslint --cache --report-unused-disable-directives --ext .ts --fix 'src' 'server/*.js'",
"fix-eslint": "eslint --cache --fix --report-unused-disable-directives --ext .ts --fix 'src' 'server/*.js'",
"typecheck": "tsc -p tsconfig.json",
"start": "node server/index.js",
"clean": "find public -type f -name '*.js' -exec rm {} +"
}
}