This repository has been archived by the owner on Sep 29, 2022. It is now read-only.
generated from alexk111/node-red-node-typescript-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.67 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
{
"name": "@starwards/node-red",
"version": "0.0.1",
"description": "Starwards nodes for Node-RED",
"scripts": {
"add-node": "node ./utils/add-node.js",
"copy": "copyfiles -u 1 \"src/*/icons/*.{png,svg}\" \"./dist/\"",
"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 && npm run copy && npm run build:editor && npm run build:runtime",
"test": "jest --colors",
"test:watch": "jest --forceExit --detectOpenHandles --watchAll",
"dev": "rm -rf dist && npm run 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\" -- npm run copy' 'npm run build:editor:watch' 'npm run build:runtime:watch' 'sleep 10; npm run test:watch'",
"lint": "prettier --ignore-path .eslintignore -c **/*.{js,ts} && eslint .",
"lint:fix": "prettier --ignore-path .eslintignore -cw **/*.{js,ts} && eslint . --fix"
},
"author": "amir-arad <[email protected]>",
"license": "SEE LICENSE IN LICENSE.md",
"node-red": {
"nodes": {
"ship-in": "./dist/ship-in/ship-in.js",
"starwards-config": "./dist/starwards-config/starwards-config.js"
}
},
"dependencies": {
"@starwards/core": "^0.0.0",
"colyseus.js": "^0.14.13",
"ts-essentials": "^9.2.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.4",
"@types/express": "^4.17.13",
"@types/jest": "^28.1.6",
"@types/node": "^18.6.4",
"@types/node-red": "^1.2.1",
"@types/node-red-node-test-helper": "^0.2.2",
"@types/sinon": "^10.0.13",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"colorette": "^2.0.19",
"concurrently": "^7.3.0",
"copyfiles": "^2.4.1",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.8.0",
"eslint-plugin-no-only-tests": "^3.0.0",
"eslint-plugin-prettier": "^4.2.1",
"glob": "^8.0.3",
"jest": "^28.1.3",
"mustache": "^4.2.0",
"node-red": "^3.0.2",
"node-red-node-test-helper": "^0.3.0",
"onchange": "^7.1.0",
"prettier": "^2.7.1",
"rollup": "^2.77.2",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testMatch": [
"**/*.test.ts"
]
}
}