Files
electron-performance/package.json
T
oxmc 8a8a824f3b Initial commit: tiered Chromium/V8 flags, GC/cache monitor, per-window memory helpers
Extracted and generalized from hand-tuned memory optimizations in an Electron app
template: memory/GPU/Raspberry-Pi-tiered command-line flags, a runtime GC + total-
process memory monitor with pressure-triggered deep clean, and per-window hide/
minimize memory helpers.
2026-07-26 03:10:19 -07:00

39 lines
847 B
JSON

{
"name": "electron-performance",
"version": "0.1.0",
"description": "Reduce Electron memory/CPU footprint via tiered Chromium/V8 flags, Pi/GPU-aware tuning, and runtime GC/cache monitoring.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "tsc -p tsconfig.json --watch",
"prepublishOnly": "npm run build"
},
"keywords": [
"electron",
"performance",
"memory",
"optimization",
"chromium",
"v8"
],
"license": "MIT",
"peerDependencies": {
"electron": ">=20.0.0"
},
"dependencies": {
"detect-rpi": "^1.6.0"
},
"optionalDependencies": {
"@oxmc/node-gpuinfo": "^1.0.2"
},
"devDependencies": {
"@types/node": "^22.0.0",
"electron": "^32.0.0",
"typescript": "^5.5.0"
}
}