-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
21 lines (21 loc) · 974 Bytes
/
package.json
File metadata and controls
21 lines (21 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "tractor-game",
"version": "1.0.0",
"description": "拖拉机纸牌游戏模拟器",
"scripts": {
"install:server": "cd tractor-game-simulator/server && npm install",
"install:client": "cd tractor-game-simulator/client && npm install --include=dev",
"build:client": "cd tractor-game-simulator/client && npm run build",
"build": "npm run install:server && npm run install:client && npm run build:client",
"start": "cd tractor-game-simulator/server && node src/index.js",
"lan": "npm run build:client && NODE_ENV=production npm start",
"lan:ip": "node -e \"const os=require('os');const nets=os.networkInterfaces();Object.values(nets).flat().filter(n=>n.family==='IPv4'&&!n.internal).forEach(n=>console.log('局域网地址: http://'+n.address+':5001'));\""
},
"engines": {
"node": ">=20.0.0",
"npm": ">=9.0.0"
},
"keywords": ["tractor", "card-game", "multiplayer"],
"author": "Tractor-dev",
"license": "MIT"
}