79 lines
1.9 KiB
JSON
79 lines
1.9 KiB
JSON
|
|
{
|
||
|
|
"name": "@rakazo/desktop",
|
||
|
|
"version": "0.1.0",
|
||
|
|
"license": "Apache-2.0",
|
||
|
|
"type": "module",
|
||
|
|
"main": "dist/main.js",
|
||
|
|
"scripts": {
|
||
|
|
"dev": "pnpm build && electron .",
|
||
|
|
"build": "tsc -p tsconfig.json && node scripts/copy-static.mjs",
|
||
|
|
"pack": "pnpm --filter @rakazo/web build && pnpm build && electron-builder --mac --win --linux",
|
||
|
|
"pack:dir": "pnpm --filter @rakazo/web build && pnpm build && electron-builder --dir",
|
||
|
|
"check": "tsc --noEmit -p tsconfig.json",
|
||
|
|
"test": "vitest run --root ../.. apps/desktop/src",
|
||
|
|
"test:e2e": "pnpm build && playwright test --config e2e/playwright.config.ts",
|
||
|
|
"release": "pnpm --filter @rakazo/web build && pnpm build && electron-builder --publish never"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@rakazo/contracts": "workspace:*",
|
||
|
|
"electron-updater": "^6.8.9"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@playwright/test": "^1.55.0",
|
||
|
|
"electron": "^43.4.0",
|
||
|
|
"electron-builder": "^26.0.12",
|
||
|
|
"typescript": "^5.9.2",
|
||
|
|
"vitest": "^4.1.10"
|
||
|
|
},
|
||
|
|
"build": {
|
||
|
|
"appId": "dev.rakazo.desktop",
|
||
|
|
"productName": "BangSo Bot",
|
||
|
|
"directories": {
|
||
|
|
"output": "out",
|
||
|
|
"buildResources": "assets"
|
||
|
|
},
|
||
|
|
"files": [
|
||
|
|
"dist/**/*",
|
||
|
|
"package.json"
|
||
|
|
],
|
||
|
|
"extraResources": [
|
||
|
|
{
|
||
|
|
"from": "../web/dist",
|
||
|
|
"to": "web"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"extraMetadata": {
|
||
|
|
"main": "dist/main.js"
|
||
|
|
},
|
||
|
|
"mac": {
|
||
|
|
"icon": "assets/icon.icns",
|
||
|
|
"category": "public.app-category.productivity",
|
||
|
|
"target": [
|
||
|
|
"dmg",
|
||
|
|
"zip"
|
||
|
|
],
|
||
|
|
"notarize": true
|
||
|
|
},
|
||
|
|
"win": {
|
||
|
|
"icon": "assets/icon.ico",
|
||
|
|
"target": [
|
||
|
|
"nsis"
|
||
|
|
],
|
||
|
|
"verifyUpdateCodeSignature": true
|
||
|
|
},
|
||
|
|
"linux": {
|
||
|
|
"icon": "assets/icon.png",
|
||
|
|
"target": [
|
||
|
|
"AppImage"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"publish": [
|
||
|
|
{
|
||
|
|
"provider": "github",
|
||
|
|
"owner": "elie222",
|
||
|
|
"repo": "rakazo"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|