{
  "name": "rust-rpa",
  "version": "0.2.7",
  "description": "Rust-based RPA automation library for Node.js",
  "type": "commonjs",
  "main": "index.js",
  "types": "index.d.ts",
  "keywords": [
    "rpa",
    "automation",
    "rust",
    "napi",
    "window-management"
  ],
  "author": "Ali ALIME Team",
  "license": "MIT",
  "napi": {
    "binaryName": "rust-rpa",
    "package": {
      "name": "@alibot/rust-rpa"
    },
    "targets": [
      "x86_64-pc-windows-msvc",
      "i686-pc-windows-msvc",
      "x86_64-apple-darwin",
      "aarch64-apple-darwin"
    ]
  },
  "bin": {
    "rpa": "bin/rpa.js"
  },
  "engines": {
    "node": ">= 18"
  },
  "scripts": {
    "artifacts": "napi artifacts",
    "build": "napi build --platform --release --manifest-path crates/bindings/Cargo.toml && npm run postbuild",
    "build:debug": "napi build --platform --manifest-path crates/bindings/Cargo.toml && npm run postbuild",
    "build:macos-x64": "napi build --platform --release --target x86_64-apple-darwin --manifest-path crates/bindings/Cargo.toml && npm run postbuild",
    "build:macos-arm64": "napi build --platform --release --target aarch64-apple-darwin --manifest-path crates/bindings/Cargo.toml && npm run postbuild",
    "build:macos-universal": "npm run build:macos-x64 && npm run build:macos-arm64",
    "build:windows-x64": "napi build --platform --release --target x86_64-pc-windows-msvc --cross-compile --manifest-path crates/bindings/Cargo.toml && npm run postbuild",
    "build:windows-x86": "napi build --platform --release --target i686-pc-windows-msvc --cross-compile --manifest-path crates/bindings/Cargo.toml && npm run postbuild",
    "build:windows-all": "npm run build:windows-x64 && npm run build:windows-x86",
    "build:all": "npm run build:macos-universal && npm run build:windows-all",
    "postbuild": "node scripts/postbuild.cjs",
    "download-models": "bash scripts/download-models.sh",
    "download-charset": "bash scripts/download-charset.sh",
    "download-paddle-models": "bash scripts/download-paddle-models.sh",
    "setup-convert-tools": "bash scripts/setup-convert-tools.sh",
    "convert-to-mnn": "bash scripts/convert-to-mnn.sh",
    "test": "vitest run",
    "test:watch": "vitest",
    "version": "napi version"
  },
  "devDependencies": {
    "@napi-rs/cli": "^3.5.1",
    "vitest": "^4.0.18"
  },
  "files": [
    "index.js",
    "index.d.ts",
    "bin",
    "models"
  ],
  "dependencies": {
    "commander": "^14.0.3"
  },
  "optionalDependencies": {
    "@alibot/rust-rpa-win32-x64-msvc": "0.2.7",
    "@alibot/rust-rpa-win32-ia32-msvc": "0.2.7",
    "@alibot/rust-rpa-darwin-x64": "0.2.7",
    "@alibot/rust-rpa-darwin-arm64": "0.2.7"
  }
}
