-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
57 lines (57 loc) · 2.15 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
{
"name": "mockapp",
"version": "0.0.0",
"private": true,
"devDependencies": {
"@citizenfx/client": "^2.0.7061-1",
"@citizenfx/server": "^2.0.7061-1",
"@emotion/react": "^11.7.0",
"@emotion/styled": "^11.6.0",
"@mui/icons-material": "^5.11.0",
"@mui/material": "^5.13.2",
"@originjs/vite-plugin-federation": "^1.3.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
"@types/node": "^14.17.34",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.14",
"@types/react-router-dom": "^5.3.2",
"@types/styled-components": "^5.1.23",
"@vitejs/plugin-react": "^4.1.1",
"add": "^2.0.6",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"react-refresh": "^0.14.0",
"react-refresh-typescript": "^2.0.3",
"typescript": "^5.2.2",
"vite": "^4.5.0"
},
"scripts": {
"dev": "vite --mode dev",
"dev:browser": "concurrently \"build:watch --mode dev\" \"preview:dev\"",
"build:dev": "vite build --mode dev",
"build:watch": "vite build --watch",
"build:game": "vite build --mode game",
"build": "pnpm build:client && pnpm build:server && vite build --mode game",
"preview:dev": "vite preview --mode dev",
"clean": "rm -rf dist",
"watch": "concurrently \"yarn watch:client\" \"yarn watch:server\" \"yarn watch:nui\"",
"watch:nui": "esbuild src/index.tsx --outdir=dist/html --watch --target=es6 --bundle --loader:.png=dataurl",
"watch:client": "esbuild client/client.ts --bundle --watch --outfile=dist/client.js",
"watch:server": "esbuild server/server.ts --bundle --sourcemap --platform=node --watch --outfile=dist/server.js",
"build:client": "esbuild client/client.ts --bundle --outfile=dist/client.js",
"build:server": "esbuild server/server.ts --bundle --sourcemap --platform=node --outfile=dist/server.js"
},
"dependencies": {
"esbuild": "^0.19.5",
"eslint": "^8.10.0",
"fivem-nui-react-lib": "^2.3.13",
"i18next": "^23.6.0",
"prettier": "^3.0.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hot-loader": "^4.13.0",
"react-router-dom": "^5.3.0",
"recoil": "^0.7.7",
"vite-plugin-top-level-await": "^1.3.1"
}
}