-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
99 lines (99 loc) · 2.58 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
93
94
95
96
97
98
99
{
"name": "node-red-contrib-time-range-switch",
"version": "1.2.0",
"description": "",
"main": "index.js",
"keywords": [
"node-red",
"router",
"switch",
"time",
"sun events"
],
"scripts": {
"start": "mkdir -p .node-red/node_modules && ln -sf $PWD $PWD/.node-red/node_modules/node-red-contrib-schedex && node-red -u .node-red",
"test": "nyc --reporter=html mocha -R spec ./tests/test.js",
"update-dependencies": "./node_modules/.bin/ncu -u && npm install",
"lint": "eslint ."
},
"author": "@biddster",
"license": "MIT",
"dependencies": {
"lodash": "^4.17.21",
"moment": "^2.29.1",
"moment-range": "^4.0.2",
"suncalc2": "^1.8.1"
},
"node-red": {
"nodes": {
"time-range-switch": "index.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/biddster/node-red-contrib-time-range-switch.git"
},
"bugs": {
"url": "https://github.com/biddster/node-red-contrib-time-range-switch/issues"
},
"devDependencies": {
"@hapi/eslint-config-hapi": "13.0.2",
"@hapi/eslint-plugin-hapi": "4.3.6",
"babel-eslint": "10.1.0",
"eslint": "^8.11.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"mocha": "^9.2.2",
"node-red": "^2.2.2",
"node-red-contrib-mock-node": "^0.5.3",
"npm-check-updates": "^12.5.4",
"nyc": "^15.1.0",
"prettier": "^2.6.0",
"release-it": "^14.14.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"eslintConfig": {
"extends": "@hapi/eslint-config-hapi",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "script"
},
"overrides": [
{
"files": [
"*.js"
],
"rules": {
"@hapi/hapi/scope-start": "off",
"comma-dangle": "off",
"brace-style": "off",
"strict": "off"
}
}
]
},
"prettier": {
"singleQuote": true,
"tabWidth": 4,
"printWidth": 96
},
"nyc": {
"exclude": "tests/**"
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint",
"git add"
],
"*.{md,html,json}": [
"prettier --write",
"git add"
]
}
}