mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
Project sanity check (#76)
* tslint: CRLF -> LF * gitignore more build artifacts * Add proposed .editorconfig * Allow for "clean" builds src/ts/generated/ content is still required (sprites.ts, gamepad-mappings.ts), but src/scripts is not. * Add --sprites option to production build * Add note about sprites to README
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
"sw-uglify": "uglifyjs build/sw.js -o build/sw.min.js",
|
||||
"sw": "npm run sw-generate && npm run sw-uglify",
|
||||
"ts": "tsc --rootDir src/ts --outDir src/scripts --pretty",
|
||||
"ts-tools": "tsc --rootDir src/ts --outDir src/scripts --pretty -p tsconfig.tools.json",
|
||||
"ts-watch": "npm run ts -- --watch",
|
||||
"ts-cov": "npm run ts -- --target es5",
|
||||
"ts-cov-watch": "npm run ts -- --target es5 --watch",
|
||||
@@ -26,6 +27,7 @@
|
||||
"webpack-verbose": "npm run webpack-prod -- --verbose",
|
||||
"wds": "webpack-dev-server --config webpack.dev.js --progress --color --debug --port 8091",
|
||||
"build": "gulp build",
|
||||
"build-sprites": "npm run build -- --sprites",
|
||||
"build-beta": "npm run build -- --beta --tools",
|
||||
"build-fast": "npm run build -- --parallel",
|
||||
"build-maps": "npm run build -- --maps",
|
||||
|
||||
Reference in New Issue
Block a user