-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
71 lines (71 loc) · 2.14 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
{
"name": "billiards",
"description": "Billiards",
"version": "0.3.1",
"author": "tailuge",
"homepage": "https://github.com/tailuge",
"keywords": [
"billiards",
"snooker",
"threejs",
"swc",
"physics"
],
"license": "GPL-3.0",
"engines": {
"yarn": "1.x"
},
"scripts": {
"test": "jest --verbose",
"coverage": "jest --coverage",
"dev": "webpack ",
"prettify": "prettier --cache true --write --trailing-comma es5 --no-semi {src,test}/**/*.[jt]s dist/**/*.{css,html} *.[jt]s *.json dist/lobby/*",
"markdownlint": "npx markdownlint-cli2 README.md --fix",
"serve": "webpack serve",
"servegitpod": "webpack serve --client-web-socket-url $(gp url 8080 | sed 's/http/ws/' | sed 's#$#/ws#')",
"deps": "npx yarn-check --skip-unused",
"websocket": "nodemon src/network/server/server.ts",
"dockerify": "docker build -f dist/Dockerfile -t tailuge/billiards-nginx .",
"gltfpack": "npx gltfpack -i dist/models/p8.gltf -o dist/models/p8.min.gltf && npx gltfpack -i dist/models/threecushion.gltf -o dist/models/threecushion.min.gltf && npx gltfpack -i dist/models/snooker.gltf -o dist/models/snooker.min.gltf && npx gltfpack -i dist/models/d-snooker.gltf -o dist/models/d-snooker.min.gltf"
},
"nodemonConfig": {
"watch": [
"src/network/server"
],
"ext": "ts",
"delay": "2",
"execMap": {
"ts": "ts-node"
}
},
"dependencies": {
"interactjs": "1.10.27",
"jsoncrush": "^1.1.8",
"three": "0.170.0"
},
"devDependencies": {
"@swc/core": "1.7.42",
"@swc/jest": "0.2.37",
"@testing-library/dom": "10.4.0",
"@types/chai": "4.3.18",
"@types/jest": "29.5.14",
"@types/node": "22.8.6",
"@types/three": "0.169.0",
"chai": "4.x",
"ini": "5.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mocha": "10.8.2",
"node-notifier": "^10.0.1",
"nodemon": "3.1.7",
"prettier": "3.3.3",
"swc-loader": "^0.2.6",
"ts-jest": "29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "5.6.3",
"webpack": "5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "5.1.0"
}
}