-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
92 lines (92 loc) · 3.18 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
91
92
{
"name": "node-red-contrib-mysensors",
"author": {
"name": "Thomas Bowman Mørch"
},
"version": "4.2.0",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"postcoverage": "nyc check-coverage --functions 50 --branches 50 --statements 90",
"build": "mkdir -p dist/nodes/ && cp -ar src/nodes/*.html dist/nodes/ && tsc ",
"prepublish": "npm run build",
"mocha": "TZ=Z mocha -r ts-node/register -r source-map-support/register",
"coverage": "TZ=Z nyc --clean --cache false --reporter=text-summary --reporter=html mocha --forbid-only -r ts-node/register -r source-map-support/register 'src/**/*.spec.ts'",
"format": "prettier --write src/**/*.ts",
"lint": "tsc --noEmit && eslint src/**/*.ts",
"coverage:ci": "TZ=Z nyc --clean --cache false --reporter=lcov mocha --forbid-only -r ts-node/register -r source-map-support/register 'src/**/*.spec.ts'"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run lint"
}
},
"lint-staged": {
"{src,e2e,cypress}/**/*.{ts,json,md,scss}": [
"prettier --write",
"git add"
]
},
"bugs": {
"url": "https://github.com/tbowmo/node-red-contrib-mysensors/issues"
},
"deprecated": false,
"description": "Mysensors related nodes, for decoding / encoding mysensors serial protocol and MQTT topic, and wrapping arbitrary messages into mysensors compatible messages",
"homepage": "https://github.com/tbowmo/node-red-contrib-mysensors",
"keywords": [
"node-red",
"mysensors",
"decode",
"encode",
"wrap",
"encapsulate",
"debug"
],
"license": "GPL-2.0",
"main": "index.js",
"node-red": {
"version": ">=3.0",
"nodes": {
"mysdecode": "dist/nodes/decode.js",
"mysencode": "dist/nodes/encode.js",
"mysencap": "dist/nodes/encapsulate.js",
"mysdebug": "dist/nodes/mysdebug.js",
"myscontroler": "dist/nodes/controller.js",
"mysdb": "dist/nodes/mysensors-db.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/tbowmo/node-red-contrib-mysensors.git"
},
"dependencies": {
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0"
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.1.4",
"@types/node-red": "1.3.1",
"@types/node-red-node-test-helper": "^0.2.3",
"@types/sinon": "^10.0.15",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-import-newlines": "^1.3.1",
"chai": "^4.3.7",
"eslint": "^8.40.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"mocha": "^10.2.0",
"node-red": "^3.0.2",
"node-red-node-test-helper": "^0.3.1",
"nyc": "^15.1.0",
"sinon": "^15.0.4",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"typescript": "*"
}
}