-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.1 KB
/
Copy pathpackage.json
File metadata and controls
33 lines (33 loc) · 1.1 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
{
"name": "ld51",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "concurrently --kill-others 'yarn web:dev' 'yarn server:dev'",
"web:dev": "VITE_ENV=development vite",
"web:build": "VITE_ENV=production tsc -p game/tsconfig.json && vite build",
"web:build:ldjam": "VITE_ENV=production tsc -p game/tsconfig.json && vite build && cd game/dist && sed -i '' 's/\\/assets/assets/g' index.html && zip -r ../../ldjam.zip . && cd ../..",
"web:preview": "vite preview",
"server:dev": "NODE_ENV=development nodemon server/src/index.ts",
"server:start": "NODE_ENV=production node server/dist/index",
"server:build": "tsc -p server/tsconfig.json",
"server:deploy": "flyctl deploy"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv-flow": "^3.2.0",
"express": "^4.18.1",
"ws": "^8.8.1"
},
"devDependencies": {
"@types/dotenv-flow": "^3.2.0",
"@types/express": "^4.17.14",
"concurrently": "^7.4.0",
"nodemon": "^2.0.19",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.8.3",
"vite": "^3.1.0"
}
}