99 lines
2.5 KiB
JSON
99 lines
2.5 KiB
JSON
{
|
|
"name": "SoonDesign",
|
|
"version": "2.1.248",
|
|
"description": "tools of design soon files",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron-forge start",
|
|
"build": "node electron-vue/build.js && electron-builder",
|
|
"builder": "electron-builder",
|
|
"packmain": "node electron-vue/build.js",
|
|
"build:dir": "node electron-vue/build.js && electron-builder --dir",
|
|
"build:clean": "cross-env BUILD_TARGET=clean node electron-vue/build.js",
|
|
"build:web": "cross-env BUILD_TARGET=web node electron-vue/build.js",
|
|
"package:x64": "electron-forge package --arch=x64",
|
|
"package:arm64": "electron-forge package --arch=arm64",
|
|
"merge": "node ./merge.js",
|
|
"package:universal": "npm run package:x64 && npm run package:arm64 && npm run merge"
|
|
},
|
|
"build": {
|
|
"productName": "SoonDesign",
|
|
"appId": "com.SoonDesign",
|
|
"copyright": "",
|
|
"directories": {
|
|
"output": "build"
|
|
},
|
|
"extraFiles": [
|
|
"lib"
|
|
],
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowElevation": true,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"installerIcon": "public/images/favicon.ico",
|
|
"uninstallerIcon": "public/images/favicon.ico",
|
|
"installerHeaderIcon": "public/images/favicon.ico",
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true
|
|
},
|
|
"fileAssociations": [
|
|
{
|
|
"name": "SoonDesign file",
|
|
"ext": "soon",
|
|
"icon": "public/images/favicon.ico",
|
|
"description": "SoonDesign file associations"
|
|
}
|
|
],
|
|
"asar": true,
|
|
"win": {
|
|
"icon": "public/images/favicon.ico",
|
|
"requestedExecutionLevel": "asInvoker",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"electronPackagerConfig": {
|
|
"packageManager": "npm",
|
|
"icon": "./public/images/favicon.ico"
|
|
},
|
|
"config": {
|
|
"forge": {
|
|
"packagerConfig": {
|
|
"icon": "./public/images/favicon.icns"
|
|
}
|
|
}
|
|
},
|
|
"repository": "",
|
|
"keywords": [
|
|
"Electron",
|
|
"quick",
|
|
"start",
|
|
"tutorial",
|
|
"demo"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@electron-forge/cli": "^6.2.0",
|
|
"electron": "^25.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@electron/remote": "^2.0.8",
|
|
"buffer": "^6.0.3",
|
|
"bytenode": "^1.3.4",
|
|
"electron-squirrel-startup": "^1.0.1",
|
|
"font-list": "^1.4.2",
|
|
"jr-qrcode": "^1.1.4",
|
|
"jsbarcode": "^3.11.5",
|
|
"less": "^4.1.2",
|
|
"less-loader": "^10.2.0",
|
|
"save": "^2.9.0"
|
|
}
|
|
}
|