wo/electron/package.json
2026-10-25 23:44:14 -04:00

30 lines
908 B
JSON

{
"name": "wo-electron",
"version": "0.1.0",
"description": "Electron offscreen renderer for the wo compositor",
"type": "module",
"main": "dist/main.js",
"private": true,
"scripts": {
"start": "electron dist/main.js",
"dev": "bun src/main.ts",
"test": "bun test",
"build": "bun build src/main.ts --outdir dist --target node --format esm --external electron && bun build src/preload.ts --outfile dist/preload.js --target node --format cjs --external electron",
"build-native": "node-gyp rebuild --directory native --jobs=1",
"postinstall": "bun run build && bun run build-native"
},
"dependencies": {
"node-addon-api": "^8.6.0"
},
"devDependencies": {
"@types/bun": "latest",
"@types/node": "^25.3.5",
"electron": "^45.0.0",
"node-gyp": "^10.3.1",
"typescript": "^5.9.3"
},
"engines": {
"bun": ">=1.0.0",
"node": ">=18"
}
}