UNPKG

abacl

Version:

Attribute Based Access Control Library

66 lines (65 loc) 1.93 kB
{ "name": "abacl", "version": "8.0.8", "description": "Attribute Based Access Control Library", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "test:debug": "jest --watch", "doc": "typedoc --out docs src/", "build": "tsc -p ./tsconfig.json", "check": "npm run lint && npm run format", "fresh": "npm run check && npm run clean", "lint": "eslint . '*/**/*.{js,ts}' --quiet --fix", "format": "prettier --write \"(src|test)/**/*.(ts|js)\"", "debug": "node -r ts-node/register --inspect src/index.ts", "clean": "rm -rf ./dist && rm -rf ./docs && npm run doc && npm run test", "test": "jest && make-coverage-badge --report-path docs/coverage/coverage-summary.json --output-path coverage-badge.svg" }, "repository": { "type": "git", "url": "git+https://github.com/vhidvz/abacl.git" }, "author": "Vahid V. <vhid.vz@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/vhidvz/abacl/issues" }, "keywords": [ "abac", "authorization", "access-control", "attribute-based", "attribute-based-access-control" ], "homepage": "https://github.com/vhidvz/abacl#readme", "dependencies": { "cron-parser": "^4.9.0", "cron-validator": "^1.3.1", "is-in-subnet": "^4.0.1", "notation": "^2.0.0" }, "devDependencies": { "@types/jest": "29.5.12", "@types/node": "^20.11.24", "@typescript-eslint/eslint-plugin": "7.1.0", "@typescript-eslint/parser": "7.1.0", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.1.3", "jest": "^29.7.0", "make-coverage-badge": "1.2.0", "prettier": "3.2.5", "ts-jest": "^29.1.2", "ts-node": "10.9.2", "typedoc": "0.25.9", "typescript": "5.3.3" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "files": [ "/dist" ] }