Implement wiring hardening, runtime API config, smoke tests, and build scripts
This commit is contained in:
28
package.json
28
package.json
@@ -4,10 +4,36 @@
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"start": "electron .",
|
||||
"build": "electron-builder"
|
||||
"build": "electron-builder",
|
||||
"build:desktop": "npm run build:renderer && npm run sync:dist && npm run build",
|
||||
"build:renderer": "npm run build --prefix frontend",
|
||||
"sync:dist": "rm -rf dist && mkdir -p dist && cp -R frontend/dist/* dist/",
|
||||
"test:wiring": "node scripts/wiring-smoke-test.cjs",
|
||||
"test:persistence": "node scripts/persistence-self-test.cjs",
|
||||
"test:persistence:restart": "node scripts/persistence-self-test.cjs --restart-backend",
|
||||
"build:verified": "npm run test:persistence && npm run build",
|
||||
"build:verified:restart": "npm run test:persistence:restart && npm run build",
|
||||
"release:verified": "npm run test:persistence && npm run build:renderer && npm run sync:dist && npm run build",
|
||||
"release:verified:restart": "npm run test:persistence:restart && npm run build:renderer && npm run sync:dist && npm run build"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.projecthub.app",
|
||||
"productName": "Project Hub",
|
||||
"directories": {
|
||||
"output": "releases"
|
||||
},
|
||||
"mac": {
|
||||
"identity": null,
|
||||
"hardenedRuntime": false,
|
||||
"target": [
|
||||
{ "target": "dmg", "arch": ["arm64"] }
|
||||
]
|
||||
},
|
||||
"afterSign": "scripts/adhoc-sign.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"electron": "^30.0.0",
|
||||
"electron-builder": "^24.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user