79 lines
1.8 KiB
JSON
79 lines
1.8 KiB
JSON
{
|
||
"name": "xiaona-pet",
|
||
"version": "0.1.0",
|
||
"private": true,
|
||
"description": "小钠 · 化学元素拟人桌宠(Electron)",
|
||
"main": "out/main/index.js",
|
||
"scripts": {
|
||
"build:main": "tsc -p tsconfig.main.json",
|
||
"build:renderer": "vite build",
|
||
"build": "npm run build:main && npm run build:renderer",
|
||
"start": "electron .",
|
||
"dev": "node scripts/dev.mjs",
|
||
"dist": "electron-builder --win portable --x64",
|
||
"pack": "electron-builder --win dir --x64"
|
||
},
|
||
"dependencies": {
|
||
"live2dcubismcore": "^1.0.2",
|
||
"pixi-live2d-display": "0.4.0",
|
||
"pixi.js": "6.5.10",
|
||
"react": "^19.3.1",
|
||
"react-dom": "^19.3.1"
|
||
},
|
||
"devDependencies": {
|
||
"@types/node": "^22.0.0",
|
||
"@types/react": "^19.0.0",
|
||
"@types/react-dom": "^19.0.0",
|
||
"@vitejs/plugin-react": "^6.3.0",
|
||
"electron": "33.4.11",
|
||
"typescript": "^5.9.0",
|
||
"vite": "^8.4.0"
|
||
},
|
||
"author": "EL-Cross-Lab",
|
||
"license": "MIT",
|
||
"build": {
|
||
"appId": "lab.elcross.sodiumpet",
|
||
"productName": "SodiumPet",
|
||
"copyright": "MIT License",
|
||
"directories": {
|
||
"output": "release",
|
||
"buildResources": "assets"
|
||
},
|
||
"electronDist": "node_modules/electron/dist",
|
||
"files": [
|
||
"out/**/*",
|
||
"assets/**/*",
|
||
"package.json"
|
||
],
|
||
"asar": true,
|
||
"win": {
|
||
"target": [
|
||
{
|
||
"target": "portable",
|
||
"arch": [
|
||
"x64"
|
||
]
|
||
}
|
||
],
|
||
"icon": "assets/stickers/1.0.png",
|
||
"signAndEditExecutable": false
|
||
},
|
||
"portable": {
|
||
"artifactName": "SodiumPet--portable.exe"
|
||
},
|
||
"extraResources": [
|
||
{
|
||
"from": "assets/skins",
|
||
"to": "skins"
|
||
},
|
||
{
|
||
"from": "assets/lib",
|
||
"to": "lib"
|
||
},
|
||
{
|
||
"from": "assets/stickers",
|
||
"to": "stickers"
|
||
}
|
||
]
|
||
}
|
||
} |