/
package.json
90 lines (90 loc) · 2.66 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "iobroker.consumption",
"version": "1.0.0",
"description": "Calculates consumption for defined sensors and resources",
"author": {
"name": "ioBroker",
"email": "dogafox@gmail.com"
},
"homepage": "https://github.com/ioBroker/ioBroker.consumption",
"license": "LicenseRef-LICENSE",
"keywords": [
"statistics",
"consumption",
"resources",
"energy"
],
"repository": {
"type": "git",
"url": "https://github.com/ioBroker/ioBroker.consumption"
},
"engines": {
"node": ">=16"
},
"dependencies": {
"@iobroker/adapter-core": "^3.0.3"
},
"files": [
"admin/",
"img/",
"lib/cloudCert.crt",
"widgets/",
"io-package.json",
"main.js",
"LICENSE"
],
"devDependencies": {
"@alcalzone/release-script": "^3.6.0",
"@alcalzone/release-script-plugin-iobroker": "^3.6.0",
"@alcalzone/release-script-plugin-license": "^3.5.9",
"@iobroker/testing": "^4.1.0",
"@types/chai": "^4.3.6",
"@types/chai-as-promised": "^7.1.6",
"@types/gulp": "^4.0.13",
"@types/mocha": "^10.0.1",
"@types/node": "^20.6.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.16",
"@types/sinon-chai": "^3.2.9",
"axios": "^1.5.0",
"chai": "^4.3.8",
"chai-as-promised": "^7.1.1",
"eslint": "^8.49.0",
"gulp": "^4.0.2",
"mocha": "^10.2.0",
"proxyquire": "^2.1.3",
"sinon": "^16.0.0",
"sinon-chai": "^3.7.0",
"babel-core": "^6.26.3",
"babel-minify": "^0.5.2",
"@babel/preset-env": "^7.22.15",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"gulp-exec": "^5.0.0",
"gulp-replace": "^1.1.4",
"gulp-javascript-obfuscator": "^1.1.6",
"vinyl-source-stream": "^2.0.0",
"vinyl-sourcemaps-apply": "^0.2.1"
},
"main": "main.js",
"scripts": {
"test:js": "mocha --opts test/mocha.custom.opts",
"test:package": "mocha test/package --exit",
"test:unit": "mocha test/unit --exit",
"test:integration": "mocha test/integration --exit",
"test": "npm run test:js && npm run test:package",
"test:spec": "node node_modules/mocha/bin/mocha --exit",
"build": "node node_modules/gulp/bin/gulp --gulpfile gulpfile.js default",
"prepublishOnly": "node node_modules/gulp/bin/gulp --gulpfile gulpfile.js default",
"lint": "eslint",
"release": "release-script",
"release-patch": "release-script patch --yes",
"release-minor": "release-script minor --yes",
"release-major": "release-script major --yes",
"update-packages": "ncu --upgrade && cd src && ncu --upgrade && cd .."
},
"bugs": {
"url": "https://github.com/ioBroker/ioBroker.consumption/issues"
},
"readmeFilename": "README.md"
}