@rbac/rbac
Version:
Blazing Fast, Zero dependency, Hierarchical Role-Based Access Control for Node.js
59 lines (58 loc) • 1.71 kB
JSON
{
"name": "@rbac/rbac",
"version": "2.1.0",
"description": "Blazing Fast, Zero dependency, Hierarchical Role-Based Access Control for Node.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc && vite build",
"dev": "tsc -w",
"examples": "node -r ts-node/register ./examples/index.ts",
"test": "NODE_ENV=test mocha --require @babel/register --colors ./test/*.spec.js",
"test:watch": "NODE_ENV=test mocha --require @babel/register --colors -w ./test/*.spec.js",
"test:npm": "cd test/npm-test && npm install && npm test"
},
"repository": {
"type": "git",
"url": "https://github.com/phellipeandrade/rbac.git"
},
"keywords": [
"rbac",
"authorization",
"hierarchical",
"privacy",
"role",
"security",
"permission",
"acl"
],
"author": "Phellipe Andrade",
"license": "MIT",
"bugs": {
"url": "https://github.com/phellipeandrade/rbac/issues"
},
"homepage": "https://github.com/phellipeandrade/rbac",
"devDependencies": {
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/plugin-transform-runtime": "^7.0.0-rc.1",
"@babel/preset-env": "^7.0.0-beta.51",
"@babel/register": "^7.0.0-beta.51",
"@babel/runtime": "^7.0.0-rc.1",
"@types/express": "^5.0.3",
"@types/node": "^22.15.30",
"babel-eslint": "^8.0.3",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-runtime": "6.23.0",
"chai": "^4.1.2",
"eslint": "^5.0.1",
"jsdom": "11.11.0",
"jsdom-global": "3.0.2",
"mocha": "^4.0.1",
"typescript": "^5.8.3",
"vite": "^6.3.5"
},
"dependencies": {
"zod": "^3.25.56"
}
}