generated from alexk111/node-red-node-typescript-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
89 lines (89 loc) · 3.11 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
{
"name": "node-red-contrib-btcpay",
"version": "0.2.3",
"description": "Node-RED nodes to talk to BTCPay Server",
"scripts": {
"add-node": "node ./utils/add-node.js",
"copy": "copyfiles -u 2 \"./src/nodes/**/*.{png,svg}\" \"./dist/nodes/\"",
"build:editor": "rollup -c rollup.config.editor.js",
"build:editor:watch": "rollup -c rollup.config.editor.js -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 && yarn build:editor && yarn 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",
"release": "yarn build && yarn publish && git push --follow-tags"
},
"author": "Alex Kaul",
"repository": {
"type": "git",
"url": "https://github.com/redbtc/node-red-contrib-btcpay"
},
"license": "MIT",
"keywords": [
"node-red",
"btcpay",
"btcpayserver",
"bitcoin"
],
"node-red": {
"nodes": {
"btcpay-api": "./dist/nodes/btcpay-api/btcpay-api.js",
"btcpay-api-config": "./dist/nodes/btcpay-api-config/btcpay-api-config.js",
"btcpay-ipn": "./dist/nodes/btcpay-ipn/btcpay-ipn.js"
}
},
"dependencies": {
"body-parser": "^1.19.0",
"bs58": "^4.0.1",
"elliptic": "^6.5.3",
"node-fetch": "^2.6.1"
},
"devDependencies": {
"@rollup/plugin-typescript": "^6.0.0",
"@types/bs58": "^4.0.1",
"@types/elliptic": "^6.4.12",
"@types/express": "^4.17.8",
"@types/jest": "^26.0.13",
"@types/node": "^14.10.1",
"@types/node-fetch": "^2.5.7",
"@types/node-red": "^1.1.0",
"@types/node-red-node-test-helper": "^0.2.0",
"@types/sinon": "^9.0.5",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"colorette": "^1.2.1",
"concurrently": "^5.3.0",
"copyfiles": "^2.3.0",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^24.0.1",
"eslint-plugin-prettier": "^3.1.4",
"glob": "^7.1.6",
"jest": "^26.4.2",
"mustache": "^4.0.1",
"node-red": "^1.1.3",
"node-red-node-test-helper": "^0.2.5",
"onchange": "^7.0.2",
"prettier": "^2.1.1",
"rollup": "^2.26.11",
"ts-jest": "^26.3.0",
"typescript": "^4.0.2"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testMatch": [
"**/__tests__/**/*.test.ts"
]
}
}