Files
gelectron/package.json
T
miles 1689adffc6 feat: enhance native binary resolution and add bundled Node.js runtime
- Refactored gelectron.js to improve native binary discovery with additional paths and environment variable support.
- Implemented a function to find the Node.js runtime, allowing bundled Node.js to be used when available.
- Updated package.json to include gelectron-packager as a CLI command.
- Enhanced gelectron-packager.js to locate installed gelectron runtime and added compatibility for bundled Node.js.
- Modified install-release.sh to download and install a private Node.js runtime alongside the gelectron binary.
- Updated NSIS installer script to include bundled Node.js runtime.
- Enhanced AppImage and DMG packaging scripts to include Node.js runtime.
- Added clipboard, nativeTheme, and screen modules for Electron compatibility.
- Implemented native bridge request handling for clipboard operations.
2026-09-05 22:23:37 -05:00

76 lines
2.0 KiB
JSON

{
"name": "gelectron-core",
"version": "0.1.1",
"description": "Firefox-engine alternative to Electron, powered by Servo",
"main": "src/electron/index.js",
"bin": {
"gelectron": "./cli/gelectron.js",
"gelectron-core": "./cli/gelectron.js",
"gelectron-packager": "./packager/bin/gelectron-packager.js"
},
"scripts": {
"build": "napi build --platform --release --package gelectron-core",
"build:debug": "napi build --platform --package gelectron-core",
"artifacts": "napi artifacts",
"prepublishOnly": "napi prepublish -t npm",
"universal": "napi universal"
},
"napi": {
"binaryName": "gelectron_core",
"targets": [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu"
]
},
"files": [
"cli/",
"src/",
"crates/gelectron-core/*.node"
],
"keywords": [
"electron",
"servo",
"gecko",
"firefox",
"browser",
"desktop",
"webview",
"chromium",
"alternative"
],
"repository": {
"type": "git",
"url": "https://github.com/mileswolfallen2/gelectron.git"
},
"bugs": {
"url": "https://github.com/mileswolfallen2/gelectron/issues"
},
"homepage": "https://github.com/mileswolfallen2/gelectron#readme",
"author": "mileswa1q22",
"license": "MIT",
"devDependencies": {
"@napi-rs/cli": "^3.0.0",
"electron": "^43.2.0"
},
"engines": {
"node": ">=18.0.0"
},
"optionalDependencies": {
"gelectron-darwin-arm64": "0.1.1",
"gelectron-darwin-x64": "0.1.1",
"gelectron-linux-arm64-gnu": "0.1.1",
"gelectron-linux-x64-gnu": "0.1.1",
"gelectron-win32-arm64-msvc": "0.1.1",
"gelectron-win32-x64-msvc": "0.1.1",
"gelectron-core-darwin-x64": "0.1.1",
"gelectron-core-darwin-arm64": "0.1.1",
"gelectron-core-win32-x64-msvc": "0.1.1",
"gelectron-core-win32-arm64-msvc": "0.1.1",
"gelectron-core-linux-x64-gnu": "0.1.1",
"gelectron-core-linux-arm64-gnu": "0.1.1"
}
}