{
  "name": "node-liblzma",
  "version": "2.2.0",
  "description": "NodeJS wrapper for liblzma",
  "type": "module",
  "main": "./lib/lzma.js",
  "bin": {
    "nxz": "./lib/cli/nxz.js"
  },
  "exports": {
    ".": {
      "import": "./lib/lzma.js",
      "types": "./index.d.ts",
      "default": "./lib/lzma.js"
    }
  },
  "scripts": {
    "postinstall": "node-gyp-build",
    "build": "tsc",
    "build:watch": "tsc --watch",
    "prepare": "simple-git-hooks && pnpm run build",
    "prebuildify": "prebuildify --napi --strip -t $(node -v)",
    "prebuildify:win": "for /f \"usebackq tokens=*\" %v in (`node -v`) do prebuildify -t %v --napi --strip",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "vitest run --config vitest.config.monocart.ts --coverage",
    "test:coverage-v8": "vitest run --coverage",
    "test:ui": "vitest --ui",
    "type-check": "tsc --noEmit",
    "clean": "rm -rf lib",
    "lint": "biome lint",
    "lint:fix": "biome lint --write",
    "format": "biome format",
    "format:write": "biome format --write",
    "check": "biome check",
    "check:write": "biome check --write",
    "release": "release-it-preset default",
    "release:manual": "release-it-preset --config .release-it.manual.json",
    "release:hotfix": "release-it-preset hotfix",
    "changelog:update": "release-it-preset changelog-only",
    "typedoc": "typedoc",
    "typedoc:watch": "typedoc --watch"
  },
  "dependencies": {
    "node-addon-api": "^8.5.0",
    "node-gyp-build": "^4.8.4"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.3.12",
    "@oorabona/release-it-preset": "^0.9.0",
    "@oorabona/vitest-monocart-coverage": "^2.0.1",
    "@types/node": "^25.0.10",
    "@vitest/coverage-istanbul": "^4.0.18",
    "@vitest/coverage-v8": "^4.0.18",
    "@vitest/ui": "4.0.18",
    "nano-staged": "^0.9.0",
    "release-it": "^19.2.4",
    "simple-git-hooks": "^2.13.1",
    "tsd": "^0.33.0",
    "typedoc": "^0.28.16",
    "typedoc-material-theme": "^1.4.1",
    "typescript": "^5.9.3",
    "vitest": "^4.0.18"
  },
  "types": "index.d.ts",
  "files": [
    "lib/",
    "src/bindings/",
    "scripts/build_xz_with_cmake.py",
    "scripts/download_xz_from_github.py",
    "scripts/copy_dll.py",
    "scripts/walk_sources.py",
    "binding.gyp",
    "index.d.ts",
    "xz-version.json"
  ],
  "engines": {
    "node": ">=16.0.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/oorabona/node-liblzma"
  },
  "keywords": [
    "module",
    "lzma",
    "lzma2",
    "xz",
    "unxz",
    "compress",
    "uncompress",
    "decompress",
    "filters",
    "binding",
    "native"
  ],
  "gypfile": true,
  "author": "Olivier ORABONA",
  "license": "LGPL-3.0",
  "bugs": {
    "url": "https://github.com/oorabona/node-liblzma/issues"
  },
  "homepage": "https://github.com/oorabona/node-liblzma",
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/oorabona"
  },
  "binary": {
    "module_name": "liblzma"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "nano-staged": {
    "*.{ts,js,mts,cts}": [
      "biome check --write --no-errors-on-unmatched"
    ],
    "*.json": [
      "biome format --write"
    ]
  },
  "simple-git-hooks": {
    "pre-commit": "pnpm exec nano-staged"
  },
  "packageManager": "pnpm@10.15.0+sha512.486ebc259d3e999a4e8691ce03b5cac4a71cbeca39372a9b762cb500cfdf0873e2cb16abe3d951b1ee2cf012503f027b98b6584e4df22524e0c7450d9ec7aa7b"
}
