{
  "name": "lightdrift-libraw",
  "version": "1.0.0",
  "description": "Decode camera RAW files, inspect metadata, extract thumbnails, and render images in Node.js.",
  "main": "dist/index.cjs",
  "module": "dist/index.mjs",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs"
    },
    "./legacy": {
      "types": {
        "import": "./lib/legacy.d.mts",
        "require": "./lib/index.d.ts"
      },
      "import": "./dist/legacy.mjs",
      "require": "./lib/legacy.cjs"
    },
    "./package.json": "./package.json"
  },
  "scripts": {
    "build": "pnpm run build:native && pnpm run build:js",
    "build:native": "node-gyp rebuild",
    "build:js": "tsup",
    "rebuild": "npm run clean && npm run build",
    "test": "vitest run",
    "test:stable": "vitest run test/stable",
    "test:package": "node scripts/test-package-consumers.js",
    "test:legacy": "vitest run test/stable/legacy-contract.test.ts test/stable/legacy-types.test.mjs",
    "test:formats": "vitest run test/stable/render.test.ts test/stable/fixture-matrix.test.ts",
    "test:queue": "vitest run test/stable/queue-cancellation.test.ts",
    "pretest": "pnpm run build",
    "prepublishOnly": "pnpm run test && pnpm run package:check",
    "install": "node-gyp-build || node-gyp rebuild",
    "clean": "node-gyp clean",
    "setup:github": "node scripts/github-setup.js",
    "docs:generate": "node scripts/generate-docs.js",
    "docs:check": "node scripts/check-docs.js",
    "upgrade:libraw": "node scripts/upgrade-libraw.js",
    "extract:thumbnails": "node scripts/extract-thumbnails.js",
    "convert:jpeg": "node scripts/batch-jpeg-conversion.js",
    "version:check": "node -e \"console.log('Package:', require('./package.json').version); console.log('Node:', process.version);\"",
    "publish:check": "pnpm audit --prod --audit-level high && pnpm exec tsc --noEmit && pnpm run docs:check && pnpm run test && pnpm run package:check && pnpm run test:package",
    "publish:dry": "node scripts/publish-dry-run.js",
    "build:prebuild": "prebuildify --napi --strip --target 24.0.0",
    "package:check": "node scripts/check-package.js"
  },
  "dependencies": {
    "node-addon-api": "^8.5.0",
    "node-gyp-build": "^4.8.0",
    "sharp": "^0.35.3"
  },
  "devDependencies": {
    "@types/node": "^24.0.0",
    "node-gyp": "^11.4.2",
    "prebuildify": "^6.0.1",
    "tsup": "^8.5.0",
    "typescript": "^5.9.2",
    "vitest": "^3.2.4"
  },
  "engines": {
    "node": "^22.0.0 || ^24.0.0"
  },
  "gypfile": true,
  "files": [
    "dist/**/*",
    "lib/index.js",
    "lib/index.d.ts",
    "lib/legacy.cjs",
    "lib/legacy.d.mts",
    "src/**/*",
    "vendor/libraw-0.22.2/src/**/*",
    "vendor/libraw-0.22.2/libraw/**/*",
    "vendor/libraw-0.22.2/internal/**/*",
    "vendor/libraw-0.22.2/COPYRIGHT",
    "vendor/libraw-0.22.2/LICENSE.CDDL",
    "vendor/libraw-0.22.2/LICENSE.LGPL",
    "vendor/zlib-1.3.2/*.c",
    "vendor/zlib-1.3.2/*.h",
    "vendor/zlib-1.3.2/LICENSE",
    "prebuilds/**/*",
    "scripts/list-libraw-sources.js",
    "scripts/check-package.js",
    "scripts/test-package-consumers.js",
    "api/**/*",
    "docs/**/*",
    "binding.gyp",
    "README.md",
    "LICENSE",
    "CHANGELOG.md",
    "THIRD_PARTY_NOTICES.md"
  ],
  "os": [
    "win32",
    "darwin",
    "linux"
  ],
  "keywords": [
    "libraw",
    "raw",
    "image",
    "photography",
    "native-addon",
    "worker-threads",
    "parallel-processing",
    "multi-threading",
    "nef",
    "cr2",
    "cr3",
    "arw",
    "dng",
    "raf",
    "rw2",
    "metadata",
    "exif",
    "canon",
    "nikon",
    "sony",
    "fujifilm",
    "panasonic",
    "leica",
    "adobe-dng",
    "jpeg",
    "jpeg-conversion",
    "image-conversion",
    "batch-processing",
    "sharp",
    "mozjpeg",
    "compression",
    "optimization",
    "resize",
    "quality"
  ],
  "author": "Bao LE <bao.lq.it@gmail.com>",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/unique01082/lightdrift-libraw.git"
  },
  "bugs": {
    "url": "https://github.com/unique01082/lightdrift-libraw/issues"
  },
  "homepage": "https://github.com/unique01082/lightdrift-libraw#readme",
  "directories": {
    "doc": "docs",
    "example": "examples",
    "lib": "lib",
    "test": "test"
  },
  "type": "commonjs"
}
