{
  "name": "@rspack/binding",
  "version": "1.3.10",
  "license": "MIT",
  "description": "Node binding for rspack",
  "main": "binding.js",
  "types": "binding.d.ts",
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "files": [
    "binding.js",
    "binding.d.ts"
  ],
  "homepage": "https://rspack.dev",
  "bugs": "https://github.com/web-infra-dev/rspack/issues",
  "repository": "web-infra-dev/rspack",
  "devDependencies": {
    "@napi-rs/cli": "3.0.0-alpha.78",
    "@napi-rs/wasm-runtime": "^0.2.9",
    "emnapi": "^1.4.3",
    "typescript": "^5.8.3",
    "@emnapi/core": "^1.4.3"
  },
  "napi": {
    "binaryName": "rspack",
    "packageName": "@rspack/binding",
    "targets": [
      "x86_64-apple-darwin",
      "x86_64-pc-windows-msvc",
      "x86_64-unknown-linux-gnu",
      "x86_64-unknown-linux-musl",
      "x86_64-unknown-freebsd",
      "i686-pc-windows-msvc",
      "armv7-unknown-linux-gnueabihf",
      "aarch64-unknown-linux-gnu",
      "aarch64-apple-darwin",
      "aarch64-unknown-linux-musl",
      "aarch64-pc-windows-msvc",
      "wasm32-wasip1-threads"
    ],
    "wasm": {
      "initialMemory": 16384,
      "browser": {
        "fs": true
      }
    }
  },
  "optionalDependencies": {
    "@rspack/binding-darwin-arm64": "1.3.10",
    "@rspack/binding-win32-arm64-msvc": "1.3.10",
    "@rspack/binding-linux-arm64-gnu": "1.3.10",
    "@rspack/binding-win32-ia32-msvc": "1.3.10",
    "@rspack/binding-darwin-x64": "1.3.10",
    "@rspack/binding-win32-x64-msvc": "1.3.10",
    "@rspack/binding-linux-arm64-musl": "1.3.10",
    "@rspack/binding-linux-x64-gnu": "1.3.10",
    "@rspack/binding-linux-x64-musl": "1.3.10"
  },
  "scripts": {
    "build:dev": "node scripts/build.js",
    "build:ci": "node scripts/build.js --profile ci",
    "build:profiling": "node scripts/build.js --profile profiling",
    "build:release": "node scripts/build.js --profile release",
    "build:dev:wasm": "DISABLE_PLUGIN=1 RUST_TARGET=wasm32-wasip1-threads node scripts/build.js",
    "build:release:wasm": "DISABLE_PLUGIN=1 RUST_TARGET=wasm32-wasip1-threads node scripts/build.js --profile release-wasi",
    "move-binding": "node scripts/move-binding",
    "test": "tsc -p tsconfig.type-test.json"
  }
}