UNPKG

@supabase-cache-helpers/postgrest-swr

Version:

A collection of SWR utilities for working with Supabase.

77 lines 2.17 kB
{ "name": "@supabase-cache-helpers/postgrest-swr", "version": "2.0.6", "keywords": [ "Cache", "PostgREST", "SWR", "Supabase" ], "homepage": "https://psteinroe.github.io/supabase-cache-helpers/", "bugs": { "url": "https://github.com/psteinroe/supabase-cache-helpers/issues" }, "license": "MIT", "author": "Philipp Steinrötter <philipp@steinroetter.com>", "repository": { "type": "git", "url": "git+https://github.com/psteinroe/supabase-cache-helpers.git", "directory": "packages/postgrest-swr" }, "source": "./src/index.ts", "files": [ "dist/**" ], "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./react-server": { "types": "./dist/index.react-server.d.ts", "import": "./dist/index.react-server.js", "require": "./dist/index.react-server.cjs" }, "./package.json": "./package.json" }, "publishConfig": { "access": "public" }, "dependencies": { "flat": "6.0.1", "server-only": "^0.0.1", "@supabase-cache-helpers/postgrest-core": "0.13.1" }, "devDependencies": { "@supabase/postgrest-js": "2.90.0", "@supabase/supabase-js": "2.90.0", "@testing-library/react": "16.3.1", "@types/flat": "5.0.5", "@types/react": "19.2.7", "@vitest/coverage-istanbul": "4.0.16", "dotenv": "17.2.3", "react": "19.2.3", "react-dom": "19.2.3", "tsup": "8.5.1", "typescript": "5.9.3", "vitest": "4.0.16", "@supabase-cache-helpers/typescript": "0.0.0", "@supabase-cache-helpers/oxlint-config": "0.0.0" }, "peerDependencies": { "@supabase/postgrest-js": "^1.19.4 || ^2.0.0", "react": "^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "swr": "^2.2.0" }, "scripts": { "build": "tsup", "clean": "rm -rf .turbo && rm -rf .nyc_output && rm -rf node_modules && rm -rf dist", "lint": "oxlint", "test": "vitest --coverage --no-file-parallelism --dangerouslyIgnoreUnhandledErrors", "typecheck": "tsc --pretty --noEmit" } }