/
package.json
106 lines (106 loc) · 4.17 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "starwards",
"repository": "git@github.com:starwards/starwards.git",
"author": "amir-arad <greenshade@gmail.com>",
"private": true,
"license": "SEE LICENSE IN LICENSE.md",
"engines": {
"node": ">= 20.11.1",
"npm": ">= 10.2.4"
},
"workspaces": [
"modules/*"
],
"scripts": {
"clean": "rimraf ./modules/browser/dist ./modules/browser/dist ./modules/core/cjs ./modules/server/cjs",
"postbuild": "node scripts/post-build.js",
"pretty-quick": "pretty-quick --staged --pattern \"./modules/*/src/**/*.{ts,tsx,json}\"",
"prettify": "prettier --ignore-path .eslintignore \"./modules/*/src/**/*.{ts,tsx,json}\" -w",
"build:browser": "npm --prefix ./modules/browser run build",
"build:core": "npm --prefix ./modules/core run build",
"build:unity": "npm --prefix ./modules/core run build:unity",
"build:node-red": "npm --prefix ./modules/node-red run build",
"build:server": "npm --prefix ./modules/server run build",
"build": "npm run build:core && concurrently --kill-others-on-fail -c blue,yellow,green,magenta \"npm:build:*(!core)\"",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"xstate-typegen": "xstate typegen \"./modules/core/src/**/*.ts?(x)\"",
"prettier": "prettier --ignore-path .eslintignore -c **/*.{js,ts,jsx,tsx}",
"test": "jest",
"snapshots:ci": "docker-compose -f ./modules/e2e/docker-compose.yml up",
"test:e2e": "playwright test",
"test:format": "npm run prettier && npm run lint",
"test:types": "tsc --noEmit --skipLibCheck",
"start": "npm --cwd ./dist run start",
"browser": "npm --prefix ./modules/browser run start",
"node-red": "bash ./scripts/dev-node-red.sh",
"prepack": "npm run build",
"pkg": "node scripts/pkg.js",
"release": "bash ./scripts/release.sh"
},
"lint-staged": {
"./modules/*/{src,test}/**/*.{ts,tsx,json}": [
"prettier --ignore-path .eslintignore -cw **/*.{js,ts} && eslint . --fix"
]
},
"devDependencies": {
"@colyseus/loadtest": "^0.15.2",
"@jgoz/jest-esbuild": "^1.0.5",
"@playwright/test": "^1.42.1",
"@rollup/plugin-sucrase": "^5.0.2",
"@types/chai": "^4.3.12",
"@types/d3-selection": "^3.0.10",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/jquery": "^3.5.29",
"@types/node": "20.12.7",
"@types/node-red": "^1.3.5",
"@types/node-red-node-test-helper": "^0.3.4",
"@types/pluralize": "^0.0.33",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.16",
"@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.2",
"@types/webfontloader": "^1.6.38",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@xstate/cli": "^0.5.17",
"chai": "^4.3.12",
"concurrently": "^8.2.2",
"copyfiles": "^2.4.1",
"esbuild": "^0.20.2",
"esbuild-jest": "^0.5.0",
"esbuild-loader": "^4.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"fast-check": "^3.17.1",
"file-loader": "^6.2.0",
"globby": "^14.0.1",
"html-webpack-plugin": "^5.6.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"ncp": "^2.0.0",
"node-red": "^3.1.8",
"node-red-node-test-helper": "^0.3.3",
"pkg": "^5.8.1",
"playwright": "^1.42.1",
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0",
"rimraf": "^5.0.5",
"rollup": "^4.14.0",
"supertest": "^6.3.4",
"ts-node": "^10.9.2",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"tsup": "^8.0.2",
"typescript": "~5.4.3",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-merge": "^5.10.0"
}
}