forked from binsoul/node-red-contrib-deye-sun-g3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 3.25 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 3.25 KB
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
{
"name": "node-red-contrib-deye",
"version": "0.0.1",
"description": "Retrieves data from a Deye SUN300/500/600/800/1000/2000G3 micro inverter using the Solarman v5 protocol.",
"keywords": [
"node-red",
"device",
"Solarman v5",
"Deye SUN"
],
"author": {
"name": "",
"email": "developer@example.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/mcceeq/node-red-contrib-deye/issues"
},
"homepage": "https://github.com/mcceeq/node-red-contrib-deye",
"repository": {
"type": "git",
"url": "https://github.com/mcceeq/node-red-contrib-deye.git"
},
"node-red": {
"version": ">=3.0.0",
"nodes": {
"deye-sun": "dist/deye-sun/Node.js"
}
},
"scripts": {
"copy:icons": "copyfiles -u 1 ./src/**/*.{png,svg} ./dist/",
"copy:locales": "copyfiles -u 1 ./src/**/locales/**/* ./dist/",
"copy": "npm run copy:icons && npm run copy:locales",
"build:editor": "rollup --bundleConfigAsCjs -c rollup.config.js",
"build:editor:watch": "rollup --bundleConfigAsCjs -c rollup.config.js -w",
"build:runtime": "tsc -p tsconfig.json",
"build:runtime:watch": "tsc -p tsconfig.watch.json --watch --preserveWatchOutput",
"build": "rimraf dist && npm run copy && npm run build:editor && npm run build:runtime",
"test": "jest --forceExit --detectOpenHandles --colors",
"test:watch": "jest --forceExit --detectOpenHandles --watchAll",
"watch": "rimraf dist && npm run copy && concurrently --kill-others --names \"COPY,EDITOR,RUNTIME\" --prefix \"({name})\" --prefix-colors \"yellow.bold,cyan.bold,greenBright.bold\" \"onchange -v src/**/*.png src/**/*.svg src/**/*.json -- npm run copy\" \"npm run build:editor:watch\" \"npm run build:runtime:watch\"",
"fix-style": "prettier --ignore-path .eslintignore --write \"**/*.{js,ts,md}\" && eslint --ext .js,.ts . --fix",
"server": "cross-env NODE_ENV=development \"nodemon --watch './dist' -e js,html,json --delay 3 --inspect node_modules/node-red/red.js --settings node-red.config.js\""
},
"files": [
"dist/*",
"examples/*",
"package.json",
"README.md",
"LICENSE.md"
],
"devDependencies": {
"@rollup/plugin-typescript": "^11.0.0",
"@tsconfig/node14": "^1.0.3",
"@types/node": "^18.11.18",
"@types/node-red": "^1.2.1",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"concurrently": "^7.6.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"glob": "^8.1.0",
"node-red": "^3.0.2",
"nodemon": "^2.0.20",
"onchange": "^7.1.0",
"prettier": "^2.8.3",
"prettier-plugin-organize-imports": "^3.2.2",
"rimraf": "^4.1.2",
"rollup": "^3.12.0",
"tslib": "^2.5.0",
"typescript": "^4.9.4"
},
"dependencies": {
"@binsoul/node-red-bundle-processing": "^0.0.2",
"@binsoul/nodejs-modbus": "^0.0.1",
"@binsoul/nodejs-solarman": "^0.0.1"
},
"engines": {
"node": ">=14.0.0"
}
}