typescript

This commit is contained in:
2018-01-08 17:20:41 +01:00
parent e16a8f77a4
commit c1fa639ae4
5 changed files with 100 additions and 2 deletions

View File

@ -4,7 +4,9 @@
"description": "",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc -p ./",
"start": "node dist/main.js"
},
"repository": {
"type": "git",
@ -18,7 +20,11 @@
"homepage": "https://gitlab.com/wolutator/dispatcher_ng#README",
"dependencies": {
"mqtt": "^2.15.0",
"node-cron": "^1.2.1",
"simple-node-logger": "^0.93.33"
},
"devDependencies": {
"@types/mqtt": "^2.5.0",
"@types/node": "^8.5.8",
"typescript": "^2.6.2"
}
}