UNPKG

node-system-bridge

Version:

A cross-platform system automation library for Node.js and Electron, written in Rust

73 lines (72 loc) 1.84 kB
{ "name": "node-system-bridge", "version": "0.3.6", "description": "A cross-platform system automation library for Node.js and Electron, written in Rust", "type": "module", "main": "./index.js", "types": "./index.d.ts", "exports": { ".": { "import": "./index.js", "require": "./index.cjs", "types": "./index.d.ts" } }, "files": [ "index.js", "index.cjs", "index.d.ts", "*.node", "README.md", "LICENSE", "examples/" ], "napi": { "name": "node-system-bridge", "package": { "name": "@node-system-bridge" }, "triples": { "defaults": true, "additional": [ "aarch64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu" ] } }, "scripts": { "build": "napi build --platform --release && node scripts/postbuild.mjs", "build:debug": "napi build --platform && node scripts/postbuild.mjs", "build:macos-all": "npm run build:macos-arm64 && npm run build:macos-x64 && node scripts/postbuild.mjs", "build:macos-arm64": "napi build --platform --release --target aarch64-apple-darwin", "build:macos-x64": "rustup target add x86_64-apple-darwin && napi build --platform --release --target x86_64-apple-darwin", "prepublishOnly": "node scripts/prepublish.mjs", "artifacts": "napi artifacts", "version": "napi version", "test": "node --test __test__/*.test.mjs" }, "keywords": [ "electron", "automation", "system", "native", "napi", "rust", "mouse", "keyboard", "process", "window", "systeminfo", "hardware" ], "author": "Bryan <bryaning.me@gmail.com>", "license": "MIT", "engines": { "node": ">=16.0.0" }, "devDependencies": { "@napi-rs/cli": "^2.18.0" } }