aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 12 insertions, 1 deletions
diff --git a/package.json b/package.json
index 6eb6e9e..41b6569 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,8 @@
"name": "James Barnett"
},
"scripts": {
- "start": "node ./bin/www"
+ "start": "node ./bin/www",
+ "dist": "pkg . --out-path ./dist"
},
"dependencies": {
"cookie-parser": "~1.4.3",
@@ -19,5 +20,15 @@
"morgan": "~1.9.0",
"tplink-smarthome-api": "0.22.0",
"moment": "2.22.0"
+ },
+ "devDependencies": {
+ "pkg": "4.3.1"
+ },
+ "bin" : {
+ "tplink-monitor": "./bin/www"
+ },
+ "pkg": {
+ "scripts": "node_modules/hbs/lib/hbs.js",
+ "assets": ["views/*", "public/**/*"]
}
}