diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-10-07 16:09:42 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-10-07 16:09:42 +0100 |
| commit | 8cecaff1ae7240902249676b7d24fadca03fc5a9 (patch) | |
| tree | a381cd45ffa4577dd1818eb192c5ebaf53ae0b7d /package.json | |
| parent | ffadea4389bcf777b049d75a0f3bae5155b7d584 (diff) | |
| download | tplink-energy-monitor-8cecaff1ae7240902249676b7d24fadca03fc5a9.tar.xz tplink-energy-monitor-8cecaff1ae7240902249676b7d24fadca03fc5a9.zip | |
Basic logging functionality. Logs every 60s.
Needs log rotation/management to avoid huge logfiles.
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package.json b/package.json index b97fe2e..05ad6c6 100644 --- a/package.json +++ b/package.json @@ -25,11 +25,14 @@ "devDependencies": { "pkg": "4.3.1" }, - "bin" : { + "bin": { "tplink-monitor": "./app.js" }, "pkg": { "scripts": "node_modules/hbs/lib/hbs.js", - "assets": ["views/*", "public/**/*"] + "assets": [ + "views/*", + "public/**/*" + ] } } |