-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.41 KB
/
package.json
File metadata and controls
29 lines (29 loc) · 1.41 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
{
"scripts": {
"build": "npm run build:client && npm run build:server && npm run build:nui",
"build:client": "esbuild client/index.ts --bundle --format=esm --target=es2022 --minify --outfile=build/client.js",
"build:server": "esbuild server/index.ts --bundle --platform=node --target=es2022 --minify --outfile=build/server.js",
"build:nui": "esbuild nui/src/index.ts --bundle --format=esm --platform=browser --target=es2022 --minify --outfile=build/nui.js",
"watch": "concurrently \"npm:watch:client\" \"npm:watch:server\" \"npm:watch:nui\"",
"watch:client": "esbuild client/index.ts --bundle --format=esm --target=es2022 --watch --outfile=build/client.js",
"watch:server": "esbuild server/index.ts --bundle --platform=node --target=es2022 --watch --outfile=build/server.js",
"watch:nui": "esbuild nui/src/index.ts --bundle --format=esm --platform=browser --target=es2022 --watch --outfile=build/nui.js",
"reinstall": "rimraf package-lock.json node_modules/.package-lock.json && npm install"
},
"dependencies": {
"axios": "^1.13.2",
"dotenv": "^16.0.0"
},
"devDependencies": {
"@lenixdev/fusion": "latest",
"@trippler/tr_kit": "latest",
"@trippler/tr_lib": "latest",
"typescript": "^5.0.0",
"@types/node": "^20.0.0",
"@citizenfx/client": "latest",
"@citizenfx/server": "latest",
"esbuild": "^0.24.2",
"concurrently": "^8.2.0",
"rimraf": "^6.0.1"
}
}