Files
FreightCalculatorPro/package.json
T
Devon Bontrager fc93c2ee57 Bump version to 1.3.0 and exclude tauri/ from Electron build
The Electron build was accidentally bundling the entire tauri/src-tauri/target
Rust build directory into app.asar (1.2GB!), inflating the installer to 304MB.
Added a files exclusion so Electron and Tauri builds stay independent.
2026-06-08 11:46:58 -04:00

33 lines
696 B
JSON

{
"name": "freight-calculator-pro",
"version": "1.3.0",
"description": "Professional Freight Class Calculator",
"main": "main.js",
"scripts": {
"start": "electron .",
"build": "electron-builder --win",
"serve": "node server.js"
},
"author": "",
"license": "ISC",
"devDependencies": {
"electron": "^27.0.0",
"electron-builder": "^24.6.4"
},
"build": {
"appId": "com.freightcalc.pro",
"productName": "Freight Calculator Pro",
"files": [
"**/*",
"!tauri/**"
],
"win": {
"target": "nsis",
"icon": "icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
}
}