mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-13 02:10:04 +00:00
5cbe30f39f
* On `npm run dist`, build both nsis and zip * Delete unnecessary default-app folder after pack * Make sure installers are 32 bit * Amend `repository` field
63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
JSON
{
|
|
"name": "openfusionclient",
|
|
"version": "1.3.1",
|
|
"description": "OpenFusionClient",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"postinstall": "npx patch-package && npm explore electron-prebuilt -- npm run postinstall",
|
|
"start": "electron .",
|
|
"build": "node build.js",
|
|
"pack": "electron-builder --win --ia32 --dir",
|
|
"dist": "electron-builder --win --ia32"
|
|
},
|
|
"author": "OpenFusion Contributors",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"electron-prebuilt": "^0.31.2",
|
|
"patch-package": "^6.4.7",
|
|
"electron-builder": "^22.10.5"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/OpenFusionProject/Client.git"
|
|
},
|
|
"build": {
|
|
"appId": "xyz.openfusion.client",
|
|
"productName": "OpenFusionClient",
|
|
"copyright": "© 2020-2021 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"
|
|
}
|
|
]
|
|
},
|
|
"files": [
|
|
"!patches${/*}",
|
|
"!.npmrc"
|
|
],
|
|
"extraFiles": [
|
|
{
|
|
"from": "build/utils",
|
|
"to": "utils"
|
|
}
|
|
],
|
|
"afterPack": "./build/delete-default-app.js"
|
|
},
|
|
"dependencies": {
|
|
"fs-extra": "^0.30.0"
|
|
}
|
|
}
|