|
@@ -9,8 +9,8 @@
|
|
|
"build:css:watch": "node-sass -w -r --source-map true --source-map-embed true -o public/css/ --output-style compressed src/sass/",
|
|
|
"build:tests": "browserify -p tsify tests/ts/main.ts -t [ babelify --presets [ es2015 ] --extensions .ts ] -o dist/ts-tests.js",
|
|
|
"dist": "npm run build && echo \"\" && node dist/build-package.js",
|
|
|
- "serve": "npm run build:css && budo src/app.ts:dist/app.js -- -d -p tsify -t [ babelify --presets [ es2015 ] --extensions .ts ]",
|
|
|
- "serve:live": "npm run build:css && concurrently --kill-others --names \"css,server\" -p name \"npm run build:css:watch\" \"budo src/app.ts:dist/app.js -d . -d public -d src --live -- -d -p tsify -t [ babelify --presets [ es2015 ] --extensions .ts ]\"",
|
|
|
+ "serve:live": "echo 'NOTE: serve:live command has been renamed to devserver'",
|
|
|
+ "devserver": "npm run build:css && concurrently --kill-others --names \"css,server\" -p name \"npm run build:css:watch\" \"budo src/app.ts:dist/app.js -d . -d public -d src --live -- -d -p tsify -t [ babelify --presets [ es2015 ] --extensions .ts ]\"",
|
|
|
"test": "npm run build:tests && karma start --single-run --log-level=debug --colors",
|
|
|
"lint": "tslint -c tslint.json --project tsconfig.json --exclude \"**/src/config.ts\"",
|
|
|
"clean": "rm -rf js/ build/ dist/app*"
|