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:
Eliot Partridge
2019-09-06 20:32:10 -05:00
committed by GitHub
parent a761dfaa8e
commit c8472f5c65
21 changed files with 200 additions and 1099 deletions
+2
View File
@@ -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",