Files
nl-game/package.json
李琦 cd1ab90013 初始化
需要注意的是饥荒不够完善:动作、手持工具、细节交互、系统逻辑
2026-08-15 07:24:34 +08:00

67 lines
1.7 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "nl-game",
"private": true,
"version": "1.0.0",
"description": "像素游戏厅43 款小游戏平台(单机 + 联机对战 + AI 陪玩)",
"author": "nl-game",
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"electron": "electron .",
"electron:e2e": "vite build --base=./ && electron electron/e2e.cjs",
"electron:dist": "vite build --base=./",
"electron:pack": "vite build --base=./ && electron-builder --win --dir",
"electron:build": "vite build --base=./ && electron-builder --win nsis"
},
"dependencies": {
"@fontsource/press-start-2p": "^5.3.0",
"@fontsource/vt323": "^5.3.0",
"axios": "^1.19.0",
"pinia": "^4.0.2",
"three": "^0.185.1",
"vue": "^3.5.41",
"vue-router": "^5.2.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.8",
"electron": "^43.4.0",
"electron-builder": "^26.15.3",
"vite": "^8.2.1"
},
"build": {
"appId": "com.nlgame.desktop",
"productName": "像素游戏厅",
"electronDist": "node_modules/electron/dist",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*",
"!electron/e2e.cjs",
"package.json"
],
"asar": true,
"win": {
"executableName": "PixelArcade",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"shortcutName": "像素游戏厅",
"artifactName": "PixelArcade-Setup-${version}.${ext}"
}
}
}