-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
88 lines (88 loc) · 2.77 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
{
"name": "@allanoricil/node-red-node-es-template",
"version": "2.0.0",
"description": "A Node-RED project built using the nrg cli.",
"author": {
"name": "AllanOricil",
"email": "[email protected]"
},
"license": "MIT",
"keywords": [
"node-red",
"nrg",
"es2022",
"esm"
],
"engines": {
"node": ">=18",
"npm": ">=10"
},
"scripts": {
"build": "nrg build",
"build:dev": "nrg build -e dev",
"watch": "nrg dev -w -o",
"watch:debug": "nrg dev -w -o -d",
"start": "nrg dev -o",
"start:debug": "nrg dev -o -d",
"start:prod": "nrg dev -o -d -e prod",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier **/*.{js,json,html} --ignore-unknown",
"format:fix": "prettier **/*.{js,json,html} --write --ignore-unknown",
"prepare": "husky",
"postinstall": "npx playwright install --with-deps",
"test": "npm run test:server && npm run test:client",
"test:unit:server": "vitest --run --config ./vitest.config.server.js",
"test:unit:client": "vitest --run --config ./vitest.config.client.js",
"test:unit:server:coverage": "vitest --run --config ./vitest.config.server.js --coverage",
"test:unit:client:coverage": "vitest --run --config ./vitest.config.client.js --coverage",
"test:start": "nrg dev -e prod",
"test:e2e": "npx playwright test --config ./playwright.config.js"
},
"lint-staged": {
"**/*.{json, html}": "prettier --write --ignore-unknown",
"**/*.{js}": [
"prettier --write --ignore-unknown",
"eslint --fix"
]
},
"node-red": {
"nodes": {
"nodes": "dist/index.js"
}
},
"dependencies": {
"axios": "^1.7.5",
"is-odd": "^3.0.1"
},
"devDependencies": {
"@allanoricil/nrg-cli": "^2.2.2",
"@babel/preset-env": "^7.26.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@playwright/test": "^1.49.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^12.1.0",
"@types/node": "^22.8.7",
"@vitejs/plugin-vue2": "^2.3.3",
"@vitest/coverage-istanbul": "^2.1.4",
"@vitest/ui": "^2.1.4",
"esbuild-vue": "^1.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vitest-globals": "^1.5.0",
"husky": "^9.1.5",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.0",
"node-red-node-test-helper": "github:node-red/node-red-node-test-helper#949edd23270b26b261f0f9b6596b548d5f80a6d4",
"prettier": "^3.2.5",
"semantic-release": "^23.1.1",
"vitest": "^2.1.4",
"vue": "^2.7.16",
"wait-on": "^8.0.1"
}
}