prepack downloads the release whose version matches package.json, verifies the Ed25519 manifest against the pinned release key and the zip against its sha256, and only then extracts the control file and scripts into sql/. No SQL is committed here.
59 lines
1.2 KiB
JSON
59 lines
1.2 KiB
JSON
{
|
|
"name": "@crudy/pgmorbac",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "Multi-OrBAC for PostgreSQL: the pgmorbac extension SQL from each signed release, for Node.js projects and migration runners",
|
|
"keywords": [
|
|
"pgmorbac",
|
|
"morbac",
|
|
"orbac",
|
|
"rbac",
|
|
"authorization",
|
|
"access-control",
|
|
"postgresql",
|
|
"postgresql-extension",
|
|
"row-level-security",
|
|
"multi-tenant"
|
|
],
|
|
"author": "Marc Villain",
|
|
"license": "MIT",
|
|
"homepage": "https://pgmorbac.crudy.fr",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/crudylabs/pgmorbac-node.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/crudylabs/pgmorbac-node/issues"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
}
|
|
},
|
|
"main": "./index.js",
|
|
"types": "./index.d.ts",
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts",
|
|
"sql",
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"LICENSE"
|
|
],
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"prepack": "node scripts/fetch-release.mjs",
|
|
"test": "node --test test/*.test.mjs"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"fflate": "^0.8.2",
|
|
"jose": "^5"
|
|
}
|
|
}
|