Removed duplication in npm scripts `serve` and `watch`

This commit is contained in:
Deilan 2017-06-06 01:52:39 +03:00
Родитель abc36e167e
Коммит 0c7f4ead9b
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",