137 lines
3.9 KiB
JSON
137 lines
3.9 KiB
JSON
{
|
|
"name": "SoonDesign",
|
|
"version": "2.3.017",
|
|
"description": "tools of design soon files",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"encrypt:win": "scripts/encrypt/encrypt-electron-win.bat",
|
|
"encrypt:linux": "./scripts/encrypt/encrypt-electron.sh",
|
|
"cleanup:jsc": "node scripts/encrypt/cleanup-jsc.js",
|
|
"cleanup": "node scripts/encrypt/cleanup.js",
|
|
"restore": "node scripts/encrypt/restore.js",
|
|
"build:win": "electron-builder --win --x64",
|
|
"build:mac": "electron-builder --mac --x64",
|
|
"build:linux": "electron-builder --linux --x64",
|
|
"build:linux:arm64": "electron-builder --linux --arm64",
|
|
"build:all": "electron-builder -mwl",
|
|
"release:win": "npm run encrypt:win && npm run cleanup && npm run build:win",
|
|
"release:mac": "npm run encrypt:linux && npm run cleanup && npm run build:mac",
|
|
"release:linux": "npm run encrypt:linux && npm run cleanup && npm run build:linux",
|
|
"release:linux:arm64": "npm run build:linux:arm64"
|
|
},
|
|
"build": {
|
|
"productName": "SoonDesign",
|
|
"appId": "com.SoonDesign",
|
|
"copyright": "",
|
|
"directories": {
|
|
"output": "build"
|
|
},
|
|
"extraFiles": [
|
|
"lib"
|
|
],
|
|
"files": [
|
|
"**/*",
|
|
"!.backup/**",
|
|
"!scripts/**",
|
|
"!**/*.jsc.map",
|
|
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
|
|
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
|
|
"!**/node_modules/*.d.ts",
|
|
"!**/node_modules/.bin",
|
|
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
|
|
"!.editorconfig",
|
|
"!**/._*",
|
|
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
|
|
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
|
|
"!**/{appveyor.yml,.travis.yml,circle.yml}",
|
|
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
|
|
],
|
|
"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,
|
|
"asarUnpack": [
|
|
"lib/**"
|
|
],
|
|
"win": {
|
|
"icon": "public/images/favicon.ico",
|
|
"requestedExecutionLevel": "asInvoker",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"mac": {
|
|
"target": [
|
|
{ "target": "dmg", "arch": ["x64"] },
|
|
{ "target": "zip", "arch": ["x64"] }
|
|
],
|
|
"category": "public.app-category.utilities",
|
|
"icon": "public/images/favicon.icns"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
{ "target": "AppImage", "arch": ["x64", "arm64"] },
|
|
{ "target": "deb", "arch": ["x64", "arm64"] }
|
|
],
|
|
"category": "Utility",
|
|
"icon": "public/images/IconA256.png",
|
|
"desktop": {
|
|
"Name": "SoonDesign",
|
|
"Comment": "tools of design soon files"
|
|
}
|
|
}
|
|
},
|
|
"electronPackagerConfig": {
|
|
"packageManager": "npm",
|
|
"icon": "./public/images/favicon.ico"
|
|
},
|
|
|
|
"repository": "",
|
|
"keywords": [
|
|
"Electron",
|
|
"quick",
|
|
"start",
|
|
"tutorial",
|
|
"demo"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"electron": "^25.0.0",
|
|
"electron-builder": "^23.3.3"
|
|
},
|
|
"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"
|
|
}
|
|
}
|