36 lines
1017 B
JSON
36 lines
1017 B
JSON
{
|
|
"name": "everypublish-client",
|
|
"version": "0.2.0",
|
|
"description": "EveryPublish 历史 Electron 调试壳(非 macOS 正式交付)",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"gen-icon": "node gen-icon.js",
|
|
"dist:win": "electron-builder --win nsis --x64"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^31.7.7",
|
|
"electron-builder": "^25.1.8"
|
|
},
|
|
"build": {
|
|
"appId": "com.everypublish.client",
|
|
"productName": "EveryPublish",
|
|
"directories": { "output": "release" },
|
|
"files": ["main.js", "preload.js", "renderer/**/*", "icons/**/*"],
|
|
"win": {
|
|
"target": [{ "target": "nsis", "arch": ["x64"] }],
|
|
"icon": "icons/app.ico",
|
|
"extraResources": [
|
|
{ "from": "../dist/agent-core.exe", "to": "agent-core.exe" }
|
|
],
|
|
"signAndEditExecutable": false
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true
|
|
}
|
|
}
|
|
}
|