Merge pull request #402 from akalipetis/hotfix-npm-scripts

Improve the package.json scripts
This commit is contained in:
Antonis Kalipetis
2016-12-28 18:44:20 +02:00
committed by GitHub
4 changed files with 6 additions and 2 deletions
+1
View File
@@ -12,3 +12,4 @@ npm-debug.log
/.idea/
.env
build/
.vscode/
+1
View File
@@ -0,0 +1 @@
web: npm start
+1 -1
View File
@@ -1 +1 @@
web: npm start
web: npm run dev
+3 -1
View File
@@ -52,7 +52,9 @@
"typescript": "^2.0.3"
},
"scripts": {
"start": "nodemon --watch src --watch addons --watch demo --exec bash -c './bin/build && node demo/app'",
"prestart": "npm run build",
"start": "node demo/app",
"dev": "nodemon -e js,ts --watch src --watch demo --exec npm start",
"lint": "tslint src/**/*.ts",
"test": "mocha --recursive ./lib",
"build:docs": "jsdoc -c jsdoc.json",