-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.5 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.5 KB
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
{
"name": "@5stack/game-server-node",
"version": "0.0.2",
"main": "./lib/cjs/index.js",
"files": [
"src",
"dist/**/*"
],
"scripts": {
"start": "node dist/cjs/index.js",
"test": "jest --ci --collect-coverage",
"test:watch": "jest --watch",
"clean": "rimraf ./lib",
"build": "npm run clean && npm run build:cjs",
"build:esm": "tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"build:cjs": "tsc -p ./configs/tsconfig.cjs.json",
"prepack": "npm run build",
"nodemon": "wait-on dist/cjs/index.js && nodemon --watch ./dist/cjs/index.js ./dist/cjs/index.js",
"watch": "npm-run-all -p \"build:cjs -- --watch\" nodemon",
"prepare": "husky"
},
"dependencies": {
"@kubernetes/client-node": "^1.3.0",
"glob": "^11.0.2",
"ioredis": "^5.6.1",
"node-datachannel": "^0.28.0",
"node-fetch": "^3.3.2",
"vdf-parser": "^1.2.1",
"ws": "^8.18.0"
},
"devDependencies": {
"@jest/globals": "^30.0.3",
"@types/node": "^24.0.10",
"eslint": "^9.6.0",
"husky": "^9.0.11",
"jest": "^30.0.3",
"lint-staged": "^16.1.2",
"nodemon": "^3.1.4",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.2",
"pretty-quick": "^4.0.0",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.2",
"ts-node": "^10.9.2",
"typescript": "^5.5.3",
"wait-on": "^8.0.0"
},
"lint-staged": {
"*.js": [
"prettier --write"
],
"*.ts?(x)": [
"eslint",
"prettier --parser=typescript --write"
]
}
}