diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-04-02 18:08:56 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-04-02 18:08:56 +0100 |
| commit | 9dedd110419cc5f3b7d91d4c2d5b0bb252f000d4 (patch) | |
| tree | 2b7840c5476424d9001f7af25122baa3610cefd7 /package.json | |
| parent | 7526db589ff0698fad7601fbeeff1b6962628800 (diff) | |
| download | tplink-energy-monitor-9dedd110419cc5f3b7d91d4c2d5b0bb252f000d4.tar.xz tplink-energy-monitor-9dedd110419cc5f3b7d91d4c2d5b0bb252f000d4.zip | |
Add TravisCI and SonarQube integration
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 13 |
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/**/*"] } } |