{
  "name": "@huh-david/bmp-js",
  "version": "0.8.7",
  "description": "A pure TypeScript BMP encoder and decoder for Node.js",
  "keywords": [
    "bitmap",
    "bmp",
    "bmp-js",
    "bmpjs",
    "browser",
    "cjs",
    "decoder",
    "encoder",
    "esm",
    "image",
    "node",
    "rle",
    "sharp",
    "typescript"
  ],
  "homepage": "https://huh-david.github.io/bmp-js/",
  "bugs": {
    "url": "https://github.com/Huh-David/bmp-js/issues"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Huh-David/bmp-js.git"
  },
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/Huh-David"
  },
  "files": [
    "dist",
    "LICENSE",
    "README.md"
  ],
  "type": "module",
  "sideEffects": false,
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs",
      "default": "./dist/index.js"
    },
    "./sharp": {
      "types": "./dist/sharp/index.d.ts",
      "import": "./dist/sharp/index.js",
      "require": "./dist/sharp/index.cjs",
      "default": "./dist/sharp/index.js"
    },
    "./package.json": "./package.json"
  },
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "devDependencies": {
    "@changesets/cli": "^2.31.0",
    "@types/node": "^26.1.0",
    "@vitest/browser": "4.1.10",
    "@vitest/browser-playwright": "4.1.10",
    "oxfmt": "^0.58.0",
    "oxlint": "^1.73.0",
    "playwright": "1.61.1",
    "rimraf": "^6.1.3",
    "sharp": "^0.35.3",
    "tsup": "^8.5.1",
    "typedoc": "^0.28.20",
    "typedoc-plugin-markdown": "^4.12.0",
    "typescript": "^6.0.3",
    "vite": "8.1.3",
    "vitepress": "^1.6.4",
    "vitest": "4.1.10"
  },
  "peerDependencies": {
    "sharp": "^0.33.5 || ^0.34.0 || ^0.35.0"
  },
  "peerDependenciesMeta": {
    "sharp": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=22"
  },
  "scripts": {
    "clean": "rimraf dist coverage",
    "build": "tsup --config tsup.config.ts",
    "test": "npm run build && vitest run",
    "test:browser": "vitest --config vitest.browser.config.ts run",
    "test:watch": "vitest",
    "lint": "oxlint --import-plugin --vitest-plugin src test",
    "format": "oxfmt --write .",
    "format:check": "oxfmt --check .",
    "typecheck": "tsc --project tsconfig.json --noEmit && tsc --project tsconfig.test.json --noEmit",
    "fixtures:generate": "node scripts/generate-bmp-fixtures.mjs",
    "fixtures:validate": "node scripts/validate-fixture-provenance.mjs",
    "docs:api": "rimraf site/api/reference && typedoc --options typedoc.json",
    "docs:dev": "npm run docs:api && vitepress dev site",
    "docs:build": "npm run docs:api && vitepress build site",
    "docs:preview": "vitepress preview site",
    "docs:check": "npm run docs:build",
    "pack:check": "npm pack --dry-run > /dev/null",
    "check": "npm run format:check && npm run lint && npm run fixtures:validate && npm run typecheck && npm run test && npm run pack:check",
    "changeset": "changeset",
    "version-packages": "changeset version && oxfmt --write CHANGELOG.md",
    "release": "changeset publish"
  }
}