Merge pull request #8 from Deilan/npm-run-server-dup

Removed duplication in npm scripts `serve` and `watch`
This commit is contained in:
Bowden Kelly 2017-07-18 13:42:50 -07:00 коммит произвёл GitHub
Родитель 5814694217 0c7f4ead9b
Коммит 462a9a97f3
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -11,8 +11,8 @@
"scripts": {
"start": "npm run build && npm run watch",
"build": "npm run build-sass && npm run build-ts && npm run tslint && npm run copy-static-assets",
"serve": "node dist/server.js",
"watch": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"nodemon dist/server.js\"",
"serve": "nodemon dist/server.js",
"watch": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"npm run serve\"",
"test": "jest --forceExit",
"build-ts": "tsc",
"watch-ts": "tsc -w",