mirror of
https://github.com/mileswolfallen2/OmniEmu2.0.git
synced 2026-09-08 11:23:17 +00:00
103 lines
3.1 KiB
JSON
103 lines
3.1 KiB
JSON
{
|
|
"name": "omniemu2",
|
|
"version": "0.1.1",
|
|
"description": "Cross-platform emulator manager, game launcher and ROM manager",
|
|
"main": "dist/main/index.js",
|
|
"scripts": {
|
|
"dev": "concurrently -k \"npm run dev:main\" \"npm run dev:renderer\"",
|
|
"dev:main": "tsc -p tsconfig.main.json --watch",
|
|
"dev:renderer": "vite",
|
|
"build": "npm run build:renderer && npm run build:main",
|
|
"build:main": "tsc -p tsconfig.main.json",
|
|
"build:renderer": "vite build",
|
|
"start": "electron dist/main/index.js",
|
|
"preview": "npm run build && npm run start",
|
|
"prepare": "python3 scripts/generate-icons.py",
|
|
"postinstall": "node node_modules/electron/install.js",
|
|
"package:mac": "npm run build && npx electron-builder --mac --universal",
|
|
"package:mac:x64": "npm run build && npx electron-builder --mac --x64",
|
|
"package:mac:arm64": "npm run build && npx electron-builder --mac --arm64",
|
|
"package:win": "npm run build && npx electron-builder --win",
|
|
"package:linux": "npm run build && npx electron-builder --linux",
|
|
"package:all": "npm run build && npx electron-builder --mac --universal --win --linux",
|
|
"build:all": "npm run build && npx electron-builder --mac --universal && npx electron-builder --win --arm64 --linux --arm64 && npx electron-builder --win --x64 --linux --x64",
|
|
"typecheck": "tsc --noEmit -p tsconfig.main.json && tsc --noEmit -p tsconfig.renderer.json"
|
|
},
|
|
"author": "fedl team <[email protected]>",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^4.4.0",
|
|
"concurrently": "^9.1.0",
|
|
"electron": "^43.1.0",
|
|
"electron-builder": "^25.1.0",
|
|
"typescript": "^5.7.0",
|
|
"vite": "^6.0.0"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"build": {
|
|
"appId": "com.omniemu.app",
|
|
"productName": "OmniEmu",
|
|
"directories": {
|
|
"output": "release",
|
|
"buildResources": "assets"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"package.json"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "assets",
|
|
"to": "assets",
|
|
"filter": [
|
|
"*.png",
|
|
"*.icns",
|
|
"*.ico"
|
|
]
|
|
}
|
|
],
|
|
"mac": {
|
|
"category": "public.app-category.utilities",
|
|
"icon": "assets/icon.png",
|
|
"target": [
|
|
"dmg",
|
|
"zip"
|
|
],
|
|
"artifactName": "${productName}-${version}-mac-${arch}.${ext}",
|
|
"hardenedRuntime": false
|
|
},
|
|
"win": {
|
|
"icon": "assets/icon.png",
|
|
"target": [
|
|
"nsis",
|
|
"zip"
|
|
],
|
|
"artifactName": "${productName}-${version}-win-${arch}.${ext}"
|
|
},
|
|
"nsis": {
|
|
"oneClick": true,
|
|
"allowToChangeInstallationDirectory": false,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true
|
|
},
|
|
"linux": {
|
|
"icon": "assets/icon.png",
|
|
"target": [
|
|
"AppImage"
|
|
],
|
|
"category": "Game",
|
|
"artifactName": "${productName}-${version}-linux-${arch}.${ext}"
|
|
}
|
|
},
|
|
"allowScripts": {
|
|
"[email protected]": true,
|
|
"[email protected]": true,
|
|
"[email protected]": true
|
|
}
|
|
}
|