-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.07 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
{
"name": "@tbowmo/node-red-small-timer",
"author": {
"name": "Thomas Bowman Mørch"
},
"version": "0.19.0",
"engines": {
"node": ">=14.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": "mocha -r ts-node/register -r source-map-support/register",
"coverage": "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": "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}/**/*.{ts,json,md,scss}": [
"prettier --write",
"git add"
]
},
"bugs": {
"url": "https://github.com/tbowmo/node-red-small-timer/issues"
},
"deprecated": false,
"description": "Small timer node for Node-RED with support for sunrise, sunset etc. timers",
"homepage": "https://github.com/tbowmo/node-red-small-timer",
"keywords": [
"node-red",
"timer",
"sunset",
"sunrise",
"dawn",
"dusk",
"schedule"
],
"license": "GPL-2.0",
"main": "index.js",
"node-red": {
"version": ">=3.0",
"nodes": {
"SmallTimer": "dist/nodes/small-timer.js",
"position": "dist/nodes/position.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/tbowmo/node-red-small-timer.git"
},
"dependencies": {
"@node-red/util": "^3.1.14",
"date-fns": "^4.1.0",
"suncalc": "^1.9.0"
},
"devDependencies": {
"@eslint/compat": "1.2.1",
"@eslint/eslintrc": "3.1.0",
"@eslint/js": "9.13.0",
"@types/chai": "^4.3.20",
"@types/mocha": "^10.0.9",
"@types/node": "^20.16.13",
"@types/node-red": "^1.3.5",
"@types/node-red-node-test-helper": "^0.3.4",
"@types/suncalc": "^1.9.2",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.10.0",
"chai": "^4.5.0",
"eslint": "^9.13.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-import-newlines": "^1.4.0",
"globals": "15.11.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"node-red": "^3.1.14",
"node-red-node-test-helper": "^0.3.4",
"nyc": "^17.1.0",
"prettier": "^3.3.3",
"sinon": "^19.0.2",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"packageManager": "yarn@3.5.1"
}