From 9dedd110419cc5f3b7d91d4c2d5b0bb252f000d4 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Mon, 2 Apr 2018 18:08:56 +0100 Subject: Add TravisCI and SonarQube integration --- package.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'package.json') 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/**/*"] } } -- cgit v1.2.3