update server
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"name": "reinloop-control-panel",
|
||||
"version": "1.0.1",
|
||||
"description": "ReinLoop B 端数据绘图与配置发布工具",
|
||||
"author": "ReinLoop",
|
||||
"private": true,
|
||||
"main": "electron-main.js",
|
||||
"scripts": {
|
||||
"start": "node poll-panel-inbox.js",
|
||||
"gui": "electron .",
|
||||
"pack:win": "npm run pack:installer && npm run pack:portable",
|
||||
"pack:installer": "electron-builder --win nsis -c.artifactName=ReinLoop-BConsole-Setup-${version}-${arch}.${ext}",
|
||||
"pack:portable": "electron-builder --win portable -c.artifactName=ReinLoop-BConsole-Portable-${version}-${arch}.${ext}",
|
||||
"pack:mac": "electron-builder --mac dmg zip --x64 --arm64 -c.artifactName=ReinLoop-BConsole-${version}-mac-${arch}.${ext}",
|
||||
"check": "node --check poll-panel-inbox.js && node --check server-client.js && node --check b-admin.js && node --check plot-json.js && node --check license-manager.js && node --check electron-main.js && node --check electron-preload.js && node --check electron-ui/renderer.js",
|
||||
"test": "node --test",
|
||||
"publish:volume": "node b-admin.js publish-volume",
|
||||
"publish:identification": "node b-admin.js publish-identification"
|
||||
},
|
||||
"dependencies": {
|
||||
"canvas": "^3.2.0",
|
||||
"chart.js": "^4.5.1",
|
||||
"chartjs-node-canvas": "^5.0.0",
|
||||
"csv-parse": "^6.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "^37.2.6",
|
||||
"electron-builder": "24.13.3"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.reinloop.bconsole",
|
||||
"productName": "ReinLoop B端工作台",
|
||||
"asar": true,
|
||||
"asarUnpack": [
|
||||
"node_modules/canvas/**/*"
|
||||
],
|
||||
"files": [
|
||||
"electron-main.js",
|
||||
"electron-preload.js",
|
||||
"electron-ui/**/*",
|
||||
"b-admin.js",
|
||||
"license-manager.js",
|
||||
"server-client.js",
|
||||
"plot-csv.js",
|
||||
"plot-json.js",
|
||||
"node_modules/**/*"
|
||||
],
|
||||
"directories": {
|
||||
"output": "../Build"
|
||||
},
|
||||
"win": {
|
||||
"target": [
|
||||
"nsis",
|
||||
"portable"
|
||||
]
|
||||
},
|
||||
"mac": {
|
||||
"target": [
|
||||
"dmg",
|
||||
"zip"
|
||||
],
|
||||
"category": "public.app-category.productivity"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
"allowToChangeInstallationDirectory": true,
|
||||
"createDesktopShortcut": true,
|
||||
"createStartMenuShortcut": true
|
||||
}
|
||||
},
|
||||
"allowScripts": {
|
||||
"canvas@3.2.3": true,
|
||||
"electron@37.10.3": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user