@cf-wasm/photon
Version:
Photon library for Cloudflare workers, Next.js and Node.js.
109 lines • 2.78 kB
JSON
{
"name": "@cf-wasm/photon",
"version": "0.3.4",
"private": false,
"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"
},
"files": [
"dist"
],
"type": "module",
"module": "./dist/workerd.js",
"types": "./dist/workerd.d.ts",
"exports": {
"./package.json": "./package.json",
"./photon.wasm": "./dist/lib/photon_rs_bg.wasm",
".": {
"node": {
"import": {
"types": "./dist/node.d.ts",
"default": "./dist/node.js"
},
"require": {
"types": "./dist/node.d.cts",
"default": "./dist/node.cjs"
}
},
"edge-light": {
"types": "./dist/edge-light.d.ts",
"import": "./dist/edge-light.js"
},
"workerd": {
"types": "./dist/workerd.d.ts",
"import": "./dist/workerd.js"
},
"default": {
"types": "./dist/workerd.d.ts",
"import": "./dist/workerd.js"
}
},
"./workerd": {
"types": "./dist/workerd.d.ts",
"import": "./dist/workerd.js"
},
"./edge-light": {
"types": "./dist/edge-light.d.ts",
"import": "./dist/edge-light.js"
},
"./node": {
"import": {
"types": "./dist/node.d.ts",
"default": "./dist/node.js"
},
"require": {
"types": "./dist/node.d.cts",
"default": "./dist/node.cjs"
}
},
"./others": {
"import": {
"types": "./dist/others.d.ts",
"default": "./dist/others.js"
},
"require": {
"types": "./dist/others.d.cts",
"default": "./dist/others.cjs"
}
}
},
"dependencies": {
"@cf-wasm/internals": "0.1.1"
},
"devDependencies": {
"@types/node": "^24.10.1",
"github-files-fetcher": "^1.6.0",
"glob": "^11.0.3",
"tsup": "^8.5.0",
"wasm-pack": "^0.13.1"
},
"scripts": {
"lint": "biome lint ./src",
"check": "biome check ./src",
"check:types": "tsc --noEmit",
"crate:download": "rimraf crate && fetcher --url=https://github.com/silvia-odwyer/photon/tree/master/crate --out=./",
"build": "NODE_ENV=production tsup",
"dev": "NODE_ENV=development tsup --watch"
}
}