UNPKG

@geexbox/accesscontrol

Version:

Subject and Attribute based Access Control for Node.js

118 lines (117 loc) 2.67 kB
{ "name": "@geexbox/accesscontrol", "version": "2.3.13", "description": "Subject and Attribute based Access Control for Node.js", "main": "./index.js", "directories": { "lib": "./lib", "test": "./test" }, "files": [ "index.js", "lib", "LICENSE" ], "types": "./lib/index.d.ts", "scripts": { "vuls": "snyk test", "deps": "npm-check -u && snyk test", "clean": "rimraf ./lib", "build": "npm run clean && mkdirp ./lib && tsc", "test": "npm run build && jest --verbose --no-cache", "test!": "jest --verbose --no-cache", "cover": "npm run build && jest --coverage --verbose --no-cache", "cover!": "jest --coverage --verbose --no-cache", "coveralls": "cat ./test/.coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js -v", "report": "open ./test/.coverage/lcov-report/index.html", "docs": "docma -c ./docma.config.json" }, "jest": { "testEnvironment": "node", "roots": [ "<rootDir>/src", "<rootDir>/lib", "<rootDir>/test" ], "transform": { "^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testMatch": [ "**/test/(*.)?(spec|test).ts" ], "moduleFileExtensions": [ "ts", "tsx", "js", "json" ], "testPathIgnorePatterns": [ "/backup/", "/.coverage/" ], "collectCoverageFrom": [ "src/**/*.ts", "!src/index.ts", "!**/IAccessInfo.ts", "!**/IQueryInfo.ts" ], "coverageDirectory": "./test/.coverage" }, "repository": { "type": "git", "url": "git+https://github.com/microex/accesscontrol.git" }, "keywords": [ "access", "access-control", "acl", "subject", "attribute", "grant", "deny", "allow", "reject", "permission", "action", "possession", "rbac", "abac", "crud", "create", "read", "update", "delete", "resource", "express", "admin", "user", "glob", "wildcard", "policy", "scope", "context" ], "author": "Lulus Young <snys98@outlook.com>", "license": "MIT", "bugs": { "url": "https://github.com/microex/accesscontrol/issues" }, "homepage": "https://github.com/microex/accesscontrol#readme", "devDependencies": { "@types/jest": "^22.1.3", "@types/node": "^9.4.6", "coveralls": "^3.0.0", "docma": "^1.5.3", "jest-cli": "^22.4.2", "mkdirp": "^0.5.1", "ncp": "^2.0.0", "rimraf": "^2.6.3", "snyk": "^1.122.0", "ts-jest": "^22.0.4", "typescript": "^3.8.3" }, "dependencies": { "jest": "^25.3.0", "notation": "^1.3.6" } }