Files
justar_client/package.json
2022-09-28 09:18:01 +08:00

112 lines
2.5 KiB
JSON

{
"name": "JUSTAR",
"version": "2.1.6",
"description": "钜星科技便民问诊系统",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "chcp 65001 && electron . pharmacy--default",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"keywords": [],
"author": "墨衣",
"license": "ISC",
"build": {
"productName": "钜星科技便民问诊系统",
"appId": "justar",
"directories": {
"output": "build"
},
"extraResources":[
{
"from": "./static",
"to": "../static"
},
{
"from": "./appData",
"to": "../appData"
}
],
"files": [
"src",
"package.json",
"node_modules"
],
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"mac": {
"icon": "./static/images/justar.ico"
},
"win": {
"icon": "./static/images/justar.ico",
"target": [
{
"target": "nsis",
"arch": [
"ia32"
]
}
],
"publish": [{
"provider": "generic",
"url": "http://192.168.1.158:8889/file"
}]
},
"linux": {
"icon": "./static/images/justar.ico"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"runAfterFinish": true,
"createDesktopShortcut": false,
"installerIcon": "./static/images/justar.ico",
"uninstallerIcon": "./static/images/justar.ico",
"include":"./installer.nsh"
}
},
"dependencies": {
"bootstrap": "^5.1.3",
"bootstrap-icons": "^1.6.1",
"electron-context-menu": "^3.1.1",
"electron-log": "^4.4.1",
"electron-updater": "^4.3.9",
"fs": "^0.0.1-security",
"jquery": "^3.6.0",
"node-fetch": "2.6.1",
"popper.js": "^1.16.1",
"windows-shortcuts": "^0.1.6"
},
"devDependencies": {
"bootstrap": "^5.1.3",
"bootstrap-icons": "^1.6.1",
"electron": "^15.0.0",
"electron-builder": "^22.13.1",
"electron-context-menu": "^3.1.1",
"electron-log": "^4.4.1",
"electron-updater": "^4.3.9",
"fs": "^0.0.1-security",
"jquery": "^3.6.0",
"node-fetch": "2.6.1",
"popper.js": "^1.16.1",
"windows-shortcuts": "^0.1.6"
}
}