UNPKG

@invisiblecities/sanity-edge-fetcher

Version:

Lightweight, Edge Runtime-compatible Sanity client for Next.js and Vercel Edge Functions

86 lines 2 kB
{ "name": "@invisiblecities/sanity-edge-fetcher", "version": "1.0.6", "description": "Lightweight, Edge Runtime-compatible Sanity client for Next.js and Vercel Edge Functions", "type": "module", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./config": { "types": "./dist/config.d.ts", "import": "./dist/config.js", "require": "./dist/config.cjs" } }, "files": [ "dist", "src", "README.md", "LICENSE" ], "keywords": [ "sanity", "edge", "vercel", "nextjs", "edge-runtime", "cms", "groq", "lightweight", "cache", "edge-functions" ], "author": "Invisible Cities Agency", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Invisible-Cities-Agency/sanity-edge-fetcher.git" }, "bugs": { "url": "https://github.com/Invisible-Cities-Agency/sanity-edge-fetcher/issues" }, "homepage": "https://github.com/Invisible-Cities-Agency/sanity-edge-fetcher#readme", "peerDependencies": { "next": ">=13.0.0" }, "peerDependenciesMeta": { "next": { "optional": true } }, "optionalDependencies": { "@upstash/redis": "^1.35.3", "@vercel/stega": "^0.1.2", "p-retry": "^6.2.1" }, "devDependencies": { "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^8.39.0", "@typescript-eslint/parser": "^8.39.0", "eslint": "^8.57.0", "tsup": "^8.0.0", "typescript": "^5.5.0", "vitest": "^1.0.0" }, "engines": { "node": ">=18.0.0" }, "publishConfig": { "access": "public" }, "scripts": { "build": "tsup", "dev": "tsup --watch", "test": "vitest run", "test:watch": "vitest --watch", "typecheck": "tsc --noEmit", "lint": "eslint src", "size": "node check-size.mjs" } }