Begin refactoring to TypeScript

This commit is contained in:
Matthew Oslan
2019-05-09 00:55:37 -04:00
parent 39a58a9f91
commit 6acb40eed1
6 changed files with 135 additions and 4 deletions

View File

@@ -5,7 +5,8 @@
"repository": "https://github.com/OpenSprinkler/Weather-Weather",
"scripts": {
"test": "mocha --exit test",
"start": "node server"
"start": "node js/server",
"compile": "tsc"
},
"dependencies": {
"cors": "^2.8.5",
@@ -17,11 +18,18 @@
"suncalc": "^1.8.0"
},
"devDependencies": {
"@types/cors": "^2.8.5",
"@types/dotenv": "^6.1.1",
"@types/express": "^4.16.1",
"@types/moment-timezone": "^0.5.12",
"@types/node": "^10.14.6",
"@types/suncalc": "^1.8.0",
"chai": "^4.2.0",
"grunt-contrib-jshint": "^1.1.0",
"hippie": "^0.5.2",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"nock": "^9.6.1"
"nock": "^9.6.1",
"typescript": "^3.4.5"
}
}