UNPKG

@psteinroe/fastify-supabase

Version:

A Fastify plugin to use authenticated Supabase clients in your API.

68 lines (67 loc) 1.77 kB
{ "name": "@psteinroe/fastify-supabase", "version": "0.0.2", "author": "Philipp Steinrötter <philipp@steinroetter.com>", "type": "module", "bugs": { "url": "https://github.com/psteinroe/supabase-cache-helpers/issues" }, "main": "./dist/index.cjs", "source": "./src/index.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./package.json": "./package.json" }, "types": "./dist/index.d.ts", "files": [ "dist/**" ], "publishConfig": { "access": "public" }, "license": "MIT", "keywords": [ "Supabase", "Auth", "Fastify" ], "repository": { "type": "git", "url": "git+https://github.com/psteinroe/fastify-supabase.git" }, "scripts": { "test": "bun test", "test:watch": "bun test --watch", "check": "biome check --apply ./**/*.ts", "typecheck": "tsc --pretty --noEmit", "build": "tsup", "clear-branches": "git branch --merged | egrep -v \"(^\\*|main)\" | xargs git branch -d", "merge-main": "git fetch origin main:main && git merge main", "reset-git": "git checkout main && git pull && bun clear-branches", "changeset": "changeset", "ci:version": "changeset version", "ci:release": "changeset publish" }, "peerDependencies": { "@supabase/supabase-js": "^2.0.0", "@fastify/jwt": "^7.0.0 || ^8.0.0 || ^9.0.0" }, "dependencies": { "@fastify/error": "3.4.1", "fastify-plugin": "4.5.1" }, "devDependencies": { "bun-plugin-dts": "0.2.1", "@biomejs/biome": "1.5.3", "@changesets/cli": "2.27.1", "bun-types": "latest", "fast-jwt": "4.0.0", "fastify": "4.26.1", "tsup": "8.0.2", "typescript": "5.3.3" } }