Merge pull request #11 from alexsasharegan/master

feat(scripts): add watcher script via nodemon
This commit is contained in:
Kamil Myśliwiec
2017-09-18 08:15:49 +02:00
committed by GitHub
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"watch": ["src"],
"ext": "ts",
"ignore": ["src/**/*.spec.ts"],
"exec": "node ./index"
}
+2
View File
@@ -5,6 +5,7 @@
"license": "MIT",
"scripts": {
"start": "node index.js",
"start:watch": "nodemon",
"prestart:prod": "tsc",
"start:prod": "node dist/server.js"
},
@@ -21,6 +22,7 @@
},
"devDependencies": {
"@types/node": "^8.0.28",
"nodemon": "^1.12.1",
"ts-node": "^3.3.0"
}
}