-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
69 lines (69 loc) · 1.9 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "smartmeter2mqtt",
"version": "0.0.0-development",
"description": "Publish data from your Smartmeter with a P1 interface to your MQTT server.",
"main": "dist/index.js",
"scripts": {
"compile": "tsc",
"copy-www": "cp -r ./src/output/wwwroot ./dist/output/wwwroot",
"coverage": "jest --coverage",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"lint-fix": "eslint ./src --ext .js,.jsx,.ts,.tsx --fix",
"test": "npm run lint && jest",
"prepack": "npm run compile && npm run copy-www"
},
"repository": {
"type": "git",
"url": "https://github.com/svrooij/smartmeter2mqtt.git"
},
"keywords": [
"mqtt-smarthome",
"P1",
"smart",
"meter",
"electricity"
],
"author": "Stephan van Rooij <github@svrooij.nl> (https://svrooij.nl)",
"license": "MIT",
"bugs": {
"url": "https://github.com/svrooij/smartmeter2mqtt/issues"
},
"homepage": "https://github.com/svrooij/smartmeter2mqtt#readme",
"dependencies": {
"@serialport/parser-readline": "^9.0.7",
"@svrooij/sunspec": "^0.9.0",
"@svrooij/tcp-server": "^1.0.1",
"crc": "^3.8.0",
"express": "^4.17.1",
"mqtt": "^4.2.6",
"node-fetch": "^2.6.1",
"serialport": "^9.0.7",
"ws": "^7.4.3",
"yargs": "^16.2.0"
},
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/crc": "^3.4.0",
"@types/express": "^4.17.11",
"@types/jest": "^26.0.2",
"@types/node-fetch": "^2.5.8",
"@types/serialport": "^8.0.1",
"@types/ws": "^7.4.0",
"@types/yargs": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"chai": "^4.3.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-typescript": "^7.2.1",
"eslint-plugin-import": "^2.20.2",
"jest": "^26.6.3",
"ts-jest": "^26.5.1",
"typescript": "^3.8.3"
},
"bin": {
"smartmeter2mqtt": "./dist/index.js"
},
"files": [
"dist/**/*.js",
"dist/output/wwwroot"
]
}