-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.4 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
{
"name": "@energyweb/node-red-contrib-energywebx",
"version": "1.0.0",
"engines": {
"node": ">=18.19"
},
"engineStrict": true,
"description": "Turn your flows to become SmartFlows in-order to be able to have your node-red flows being installed and executed on thousands of decentralised worker nodes around the world (Powered by Energy Web X)",
"node-red": {
"nodes": {
"submit-solution": "./submit-solution.js",
"consensus": "dist/nodes/consensus/consensus.js"
}
},
"scripts": {
"copy": "copyfiles -u 2 \"./src/nodes/**/*.{png,svg}\" \"./dist/nodes/\"",
"build:editor": "rollup -c rollup.config.editor.mjs",
"build:editor:watch": "rollup -c rollup.config.editor.mjs -w",
"build:runtime": "tsc -p tsconfig.runtime.json",
"build:runtime:watch": "tsc -p tsconfig.runtime.watch.json --watch --preserveWatchOutput",
"build": "rm -rf dist && yarn copy && npm run build:editor && npm run build:runtime",
"test": "jest --forceExit --detectOpenHandles --colors",
"test:watch": "jest --forceExit --detectOpenHandles --watchAll",
"dev": "rm -rf dist && yarn copy && concurrently --kill-others --names 'COPY,EDITOR,RUNTIME,TEST' --prefix '({name})' --prefix-colors 'yellow.bold,cyan.bold,greenBright.bold,magenta.bold' 'onchange -v \"src/**/*.png\" \"src/**/*.svg\" -- yarn copy' 'yarn build:editor:watch' 'yarn build:runtime:watch' 'sleep 10; yarn test:watch'",
"lint": "prettier --ignore-path .eslintignore --check '**/*.{js,ts,md}'; eslint --ext .js,.ts .",
"lint:fix": "prettier --ignore-path .eslintignore --write '**/*.{js,ts,md}'; eslint --ext .js,.ts . --fix"
},
"keywords": [
"SmartFlow",
"Energy",
"Web",
"Worker",
"Nodes",
"Decentralised",
"Decentralized",
"Energy Web X",
"Blockchain",
"EWT",
"node-red"
],
"author": "EnergyWebX",
"license": "ISC",
"dependencies": {
"node-red": "^3.1.9",
"request": "^2.88.2",
"request-promise": "^4.2.6"
},
"peerDependencies": {
"@polkadot/api": "^14.0.1"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^29.5.12",
"@types/node-red": "^1.3.5",
"concurrently": "^8.2.2",
"copyfiles": "^2.4.1",
"jest": "^29.7.0",
"onchange": "^7.1.0",
"rollup": "^4.16.4",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.18.0"
}
}