Improve the package.json scripts

1. Include a `prestart` script, which runs the build
2. Make the `start` script just start the demo server
3. Add a new `dev` script, which contains the nodemon logic
4. nodemon now watches for changes in `*.ts` files and runs the start command

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
This commit is contained in:
Antonis Kalipetis
2016-12-28 18:12:20 +02:00
parent df83298c54
commit 0da4c9d90d
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -12,3 +12,4 @@ npm-debug.log
/.idea/
.env
build/
.vscode/