mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-25 14:50:14 +00:00
80 lines
2.2 KiB
JSON
80 lines
2.2 KiB
JSON
{
|
|
"name": "OpenFusionClient",
|
|
"version": "1.5.2",
|
|
"description": "OpenFusionClient",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"postinstall": "npx patch-package && npm explore electron-prebuilt -- npm run postinstall",
|
|
"start": "electron .",
|
|
"pack": "electron-builder --win --ia32 --dir",
|
|
"dist": "electron-builder --win --ia32 --publish=never",
|
|
"prettier": "npx prettier --write ."
|
|
},
|
|
"author": "OpenFusion Contributors",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"electron-builder": "^22.14.13",
|
|
"electron-prebuilt": "^0.31.2",
|
|
"patch-package": "^7.0.2",
|
|
"prettier": "^3.3.3"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/OpenFusionProject/OpenFusionClient.git"
|
|
},
|
|
"build": {
|
|
"appId": "xyz.openfusion.client",
|
|
"productName": "OpenFusionClient",
|
|
"copyright": "© 2020-2024 OpenFusion Contributors",
|
|
"electronDownload": {
|
|
"version": "0.31.2",
|
|
"platform": "win32",
|
|
"arch": "ia32"
|
|
},
|
|
"electronVersion": "0.31.2",
|
|
"win": {
|
|
"asar": false,
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": "ia32"
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": "ia32"
|
|
}
|
|
]
|
|
},
|
|
"nsis": {
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true
|
|
},
|
|
"files": [
|
|
"!patches${/*}",
|
|
"!.vscode${/*}",
|
|
"!*.php",
|
|
"!rankurl.txt",
|
|
"!README.md",
|
|
"!LICENSE.md",
|
|
"!.npmrc",
|
|
"!.prettierrc",
|
|
"!.prettierignore"
|
|
],
|
|
"extraFiles": [
|
|
"LICENSE.md",
|
|
{
|
|
"from": "build/OpenFusionClient.exe.manifest",
|
|
"to": "OpenFusionClient.exe.manifest"
|
|
},
|
|
{
|
|
"from": "build/WebPlayer",
|
|
"to": "WebPlayer"
|
|
}
|
|
],
|
|
"afterPack": "./build/after-pack.js"
|
|
},
|
|
"dependencies": {
|
|
"fs-extra": "2.0.0"
|
|
}
|
|
}
|