{
  "name": "sinter-js",
  "version": "2.1.0",
  "description": "Browser-side image compression with format conversion, resizing, quality control, and size targeting.",
  "license": "MIT",
  "type": "module",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/semanticist21/sinter.git",
    "directory": "packages/module"
  },
  "keywords": [
    "image",
    "compression",
    "webp",
    "avif",
    "jpeg",
    "png",
    "bmp",
    "wasm",
    "browser",
    "resize",
    "gif",
    "heic",
    "animation"
  ],
  "files": [
    "dist",
    "LICENSE",
    "README.md",
    "THIRD_PARTY_NOTICES.md",
    "licenses",
    "scripts",
    "native/*/*.c",
    "native/*/*.cpp",
    "native/*/Cargo.*",
    "native/*/src/**"
  ],
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.mts",
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "import": "./dist/index.mjs"
    }
  },
  "sideEffects": false,
  "scripts": {
    "build": "bun run build:native && tsdown && bun run build:native:copy-dist",
    "build:native": "bun scripts/build-jpeg-wasm.ts && bun scripts/build-container-wasm.ts && bun scripts/build-raster-wasm.ts && bun scripts/build-bmp-wasm.ts && bun scripts/build-webp-wasm.ts",
    "build:native:copy-dist": "bun scripts/build-jpeg-wasm.ts --copy-dist && bun scripts/build-container-wasm.ts --copy-dist && bun scripts/build-raster-wasm.ts --copy-dist && bun scripts/build-bmp-wasm.ts --copy-dist && bun scripts/build-webp-wasm.ts --copy-dist",
    "check": "tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.test-types.json --noEmit",
    "test": "bun run build && bun test"
  },
  "devDependencies": {
    "@types/bun": "^1.3.12",
    "@types/upng-js": "^2.1.5",
    "tsdown": "^0.21.7",
    "typescript": "^5.9.3"
  },
  "dependencies": {
    "upng-js": "^2.1.0"
  }
}
