Add dev task to watch and recompile on source changes

This commit is contained in:
Samer Albahra
2019-05-13 14:04:35 -05:00
parent ca4ec4a168
commit 4bb74de38a
3 changed files with 43 additions and 1 deletions

View File

@@ -5,7 +5,8 @@
"repository": "https://github.com/OpenSprinkler/Weather-Weather",
"scripts": {
"test": "mocha --exit test",
"start": "node js/server",
"start": "npm run compile && node js/server",
"dev": "node scripts/serve",
"compile": "tsc"
},
"dependencies": {
@@ -31,6 +32,7 @@
"hippie": "^0.5.2",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"node-watch": "^0.6.2",
"nock": "^9.6.1",
"typescript": "^3.4.5"
}