{
  "name": "iiif-processor",
  "version": "8.0.1",
  "description": "IIIF 2.1 & 3.0 Image API modules for NodeJS",
  "main": "dist/index.js",
  "module": "dist/index.mjs",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      }
    },
    "./calculator": {
      "import": {
        "types": "./dist/calculator.d.mts",
        "default": "./dist/calculator.mjs"
      },
      "require": {
        "types": "./dist/calculator.d.ts",
        "default": "./dist/calculator.js"
      }
    }
  },
  "repository": "https://github.com/samvera/node-iiif",
  "author": "Michael B. Klein",
  "license": "Apache-2.0",
  "files": [
    "CHANGELOG.md",
    "CONTRIBUTING.md",
    "dist/**/*",
    "LICENSE",
    "package.json",
    "README.md"
  ],
  "workspaces": [
    "examples/tiny-iiif",
    "examples/tiny-iiif/clover-ui"
  ],
  "scripts": {
    "clean": "rm -rf node_modules/ vendor/ coverage/ dist/",
    "build": "tsup",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "typecheck:strict": "tsc -p tsconfig.strict.json --noEmit",
    "build:watch": "tsup --watch",
    "prepare": "npm run build",
    "lint": "eslint \"{src,tests}/**/*.{js,ts}\"",
    "lint:fix": "eslint --fix \"{src,tests}/**/*.{js,ts}\"",
    "lint:examples": "cd examples/tiny-iiif && npm run lint",
    "test": "node scripts/test.js --env=node",
    "test:coverage": "node scripts/test.js --env=node --coverage",
    "validate": "npm run build && concurrently -s !command-server -k -n server,iiif --hide server -c blue,green \"cd examples/tiny-iiif && npm run validator\" \"cd validator && sleep 2 && uv run ./run-validator.sh\""
  },
  "keywords": [
    "iiif",
    "image",
    "libvips",
    "vips"
  ],
  "dependencies": {
    "debug": "^4.3.4",
    "mime-types": "2.x"
  },
  "devDependencies": {
    "@types/debug": "^4.1.12",
    "@types/jest": "^29.5.12",
    "@types/mime-types": "^3.0.1",
    "@types/node": "^20.14.11",
    "coveralls": "^3.1.1",
    "eslint": "^9.13.0",
    "jest": "^29.4.3",
    "jest-junit": "^16.0.0",
    "node-addon-api": "^8.4.0",
    "node-gyp": "^12.2.0",
    "ts-jest": "^29.2.5",
    "ts-node": "^10.9.2",
    "tsup": "^8.5.0",
    "typescript": "^5.5.4",
    "typescript-eslint": "^8.7.0"
  },
  "optionalDependencies": {
    "sharp": "^0.34.4"
  },
  "jest": {
    "preset": "ts-jest",
    "transform": {
      "^.+\\.(ts|tsx)$": [
        "ts-jest",
        {
          "tsconfig": {
            "types": [
              "jest",
              "node"
            ]
          }
        }
      ]
    },
    "collectCoverageFrom": [
      "./*.{js,ts}",
      "src/**/*.{js,ts}"
    ],
    "coveragePathIgnorePatterns": [
      "<rootDir>/tsup.config.ts",
      "src/tile-size.ts"
    ],
    "testPathIgnorePatterns": [
      "<rootDir>[/\\\\](build|docs|node_modules|scripts)[/\\\\]"
    ],
    "testEnvironment": "node",
    "moduleFileExtensions": [
      "ts",
      "js",
      "json"
    ],
    "moduleDirectories": [
      "node_modules"
    ]
  }
}
