3096890b9b
The public repo shipped with no license, readme, or changelog. Add them plus standard package metadata (license field, keywords, author, homepage, repository, bugs) so the Gitea/npm pages present the package professionally. README and CHANGELOG describe the exports this repo actually contains. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
65 lines
2.0 KiB
JSON
65 lines
2.0 KiB
JSON
{
|
|
"name": "@crudy/pgmorbac",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"description": "Crudy pgmorbac - Multi-OrBAC permission helpers for Fastify and PostgreSQL",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"morbac",
|
|
"orbac",
|
|
"rbac",
|
|
"authorization",
|
|
"access-control",
|
|
"postgresql",
|
|
"fastify",
|
|
"rls",
|
|
"multi-tenant"
|
|
],
|
|
"author": "Marc Villain",
|
|
"homepage": "https://pgmorbac.villains.fr",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.villains.fr/crudy/pgmorbac-node.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://git.villains.fr/crudy/pgmorbac-node/issues"
|
|
},
|
|
"exports": {
|
|
".": { "types": "./dist/index.d.ts", "source": "./src/index.ts", "default": "./dist/index.js" },
|
|
"./permissions": { "types": "./dist/permissions.d.ts", "source": "./src/permissions.ts", "default": "./dist/permissions.js" },
|
|
"./proxy": { "types": "./dist/proxy.d.ts", "source": "./src/proxy.ts", "default": "./dist/proxy.js" },
|
|
"./plugin": { "types": "./dist/plugin.d.ts", "source": "./src/plugin.ts", "default": "./dist/plugin.js" },
|
|
"./schemas": { "types": "./dist/schemas.d.ts", "source": "./src/schemas.ts", "default": "./dist/schemas.js" },
|
|
"./api": { "types": "./dist/api.d.ts", "source": "./src/api.ts", "default": "./dist/api.js" }
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": ["dist", "package.json", "README.md", "CHANGELOG.md", "LICENSE", "NOTICE"],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"prepack": "npm run build"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "http://localhost:4873",
|
|
"access": "public"
|
|
},
|
|
"dependencies": {
|
|
"bcryptjs": "^2"
|
|
},
|
|
"peerDependencies": {
|
|
"fastify": ">=5",
|
|
"pg": ">=8"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"fastify": { "optional": true },
|
|
"pg": { "optional": true }
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2",
|
|
"@types/pg": "^8",
|
|
"fastify": "^5",
|
|
"pg": "^8",
|
|
"typescript": "^5"
|
|
}
|
|
}
|