This repository was archived by the owner on Oct 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
90 lines (90 loc) · 3.1 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
{
"name": "node-red-contrib-jacdac",
"version": "1.2.14",
"description": "Microsoft Jacdac for Node-Red",
"keywords": [
"node-red",
"jacdac"
],
"repository": "github:microsoft/node-red-contrib-jacdac",
"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\" \"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",
"validate": "node-red-dev validate"
},
"author": "Microsoft",
"license": "MIT",
"engines": {
"node": ">=12.0.0"
},
"node-red": {
"version": ">=1.3.7",
"nodes": {
"jacdac-report": "./dist/nodes/jacdac-report/jacdac-report.js",
"jacdac-event": "./dist/nodes/jacdac-event/jacdac-event.js",
"jacdac-command": "./dist/nodes/jacdac-command/jacdac-command.js"
}
},
"dependencies": {
"jacdac-ts": "^1.24.16"
},
"optionalDependencies": {
"rpio": "^2.4.2",
"spi-device": "^3.1.2",
"usb": "^2.1.2",
"serialport": "^9.2.8"
},
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.17",
"@types/node-red": "^1.2.0",
"@types/node-red-node-test-helper": "^0.2.2",
"@types/sinon": "^10.0.11",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"colorette": "^2.0.16",
"concurrently": "^7.0.0",
"copyfiles": "^2.4.1",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^26.1.0",
"glob": "^7.2.0",
"jest": "^27.5.1",
"mustache": "^4.2.0",
"node-red": "^2.2.0",
"node-red-node-test-helper": "^0.2.7",
"onchange": "^7.1.0",
"prettier": "^2.5.1",
"rollup": "^2.67.2",
"semantic-release": "^19.0.2",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testMatch": [
"**/__tests__/**/*.test.ts"
]
}
}