{
  "name": "@cf-wasm/photon",
  "version": "0.4.0",
  "description": "Photon library for Cloudflare workers, Next.js and Node.js.",
  "keywords": [
    "image-processing",
    "image-manipulation",
    "image-resizing",
    "rust",
    "rust-library",
    "webassembly",
    "wasm",
    "cloudflare-workers"
  ],
  "license": "Apache-2.0",
  "collaborators": [
    "Silvia O'Dwyer <silviaodwyerdev@gmail.com>"
  ],
  "homepage": "https://github.com/fineshopdesign/cf-wasm/tree/main/packages/photon#readme",
  "repository": {
    "type": "git",
    "url": "https://github.com/fineshopdesign/cf-wasm",
    "directory": "packages/photon"
  },
  "bugs": {
    "url": "https://github.com/fineshopdesign/cf-wasm/issues"
  },
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "files": [
    "dist"
  ],
  "sideEffects": [
    "./dist/edge-light.js",
    "./dist/node.js",
    "./dist/photon.js",
    "./dist/workerd.js"
  ],
  "type": "module",
  "main": "./dist/workerd.js",
  "module": "./dist/workerd.js",
  "types": "./dist/workerd.d.ts",
  "exports": {
    "./package.json": "./package.json",
    "./photon.wasm": "./dist/lib/photon_rs_bg.wasm",
    ".": {
      "node": {
        "types": "./dist/node.d.ts",
        "default": "./dist/node.js"
      },
      "edge-light": {
        "types": "./dist/edge-light.d.ts",
        "default": "./dist/edge-light.js"
      },
      "workerd": {
        "types": "./dist/workerd.d.ts",
        "default": "./dist/workerd.js"
      },
      "default": {
        "types": "./dist/workerd.d.ts",
        "default": "./dist/workerd.js"
      }
    },
    "./workerd": {
      "types": "./dist/workerd.d.ts",
      "default": "./dist/workerd.js"
    },
    "./edge-light": {
      "types": "./dist/edge-light.d.ts",
      "default": "./dist/edge-light.js"
    },
    "./node": {
      "types": "./dist/node.d.ts",
      "default": "./dist/node.js"
    },
    "./others": {
      "types": "./dist/others.d.ts",
      "default": "./dist/others.js"
    }
  },
  "dependencies": {
    "@cf-wasm/internals": "^0.2.0"
  },
  "devDependencies": {
    "@types/node": "^26.1.2",
    "github-files-fetcher": "^1.6.0",
    "tsdown": "^0.22.14",
    "wasm-pack": "^0.15.0"
  },
  "scripts": {
    "lint": "biome lint ./src",
    "check": "biome check ./src",
    "check:types": "tsc --noEmit",
    "crate:download": "rm -r crate && fetcher --url=https://github.com/silvia-odwyer/photon/tree/master/crate --out=./ && sed -E -i.old '/\\[package.metadata.wasm-pack.profile.release\\]/,/^\\[/ s/wasm-opt[[:space:]]*=[[:space:]]*(false|\\[[^]]*\\])/wasm-opt = [\"-O3\", \"--enable-mutable-globals\"]/g' crate/Cargo.toml",
    "build": "NODE_ENV=production tsdown",
    "dev": "NODE_ENV=development tsdown --watch"
  }
}