-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 2.54 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
{
"name": "bataille-front",
"version": "0.16.0",
"description": "",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/HugoGresse/bataille.git"
},
"author": "Hugo Gresse",
"license": "SEE LICENSE IN LICENSE",
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"start-server": "ts-node-dev --respawn --project src/server/tsconfig.dev.json src/server/server.ts",
"build:server": "rm -rf lib && tsc --build src/server/tsconfig.json",
"build:server:run": "npm run build:server && node lib/src/server/server.js",
"start:server": "node lib/src/server/server.js",
"release:patch": "npm run build:server && git add . && git commit -m \"update build\" && npm version patch",
"release:minor": "npm run build:server && git add . && git commit -m \"update build\" && npm version minor",
"prepare": "husky install"
},
"devDependencies": {
"@types/node-fetch": "^2.5.12",
"@types/pathfinding": "^0.0.5",
"@types/react-router-dom": "^5.1.8",
"@types/uuid": "^8.3.0",
"@vitejs/plugin-react": "^4.0.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"serve": "^11.3.2",
"ts-node-dev": "^1.1.6"
},
"dependencies": {
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
"@material-ui/core": "^5.0.0-beta.4",
"@material-ui/icons": "^5.0.0-beta.4",
"@types/react": "^17.0.5",
"@types/react-dom": "^17.0.5",
"debounce": "^1.2.1",
"node-fetch": "^2.6.9",
"pathfinding": "^0.4.18",
"phaser": "^3.54.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0",
"socket.io": "^4.1.1",
"socket.io-client": "^4.1.1",
"typescript": "^4.2.4",
"uuid": "^8.3.2",
"vite": "^4.3.3"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js,json,css,md}": [
"prettier --write"
]
}
}