UNPKG

@lykmapipo/permission

Version:

A representation of ability to perform an action or access a resource.

108 lines (107 loc) 2.86 kB
{ "name": "@lykmapipo/permission", "version": "0.8.35", "description": "A representation of ability to perform an action or access a resource.", "main": "index.js", "scripts": { "test": "grunt test", "integration:test": "grunt integration", "http:test": "grunt http", "unit:test": "grunt unit", "doc": "grunt doc", "dev": "npm run seed && npm run start", "start": "BASE_PATH=./examples node ./examples/app.js", "seed": "BASE_PATH=./examples node ./examples/seed.js", "format": "prettier --write \"{lib,test,.}/**/*.js\" --loglevel silent" }, "repository": { "type": "git", "url": "https://github.com/lykmapipo/permission.git" }, "keywords": [ "lykmapipo", "mongoose", "mongoose-module", "permission", "permit", "access", "perform", "role", "group", "ability", "capability", "functionality" ], "contributors": [ { "name": "lykmapipo", "email": "lallyelias87@gmail.com", "url": "https://github.com/lykmapipo" } ], "license": "MIT", "bugs": { "url": "https://github.com/lykmapipo/permission/issues", "email": "lallyelias87@gmail.com" }, "homepage": "https://github.com/lykmapipo/permission", "sandbox": { "url": "https://permision.herokuapp.com", "schema": "https://permision.herokuapp.com/v1/permissions/schema", "apidoc": "https://lykmapipo.github.io/permission/", "client_id": "", "client_secret": "", "urls": [ { "resource": "Permission", "link": "https://permision.herokuapp.com/v1/permissions", "scopes": [ "permission:*" ], "methods": [ "get", "put", "patch" ] } ] }, "devDependencies": { "@benmaruchu/faker": "^4.3.0", "@codetanzania/majifix-common": "^0.20.0", "@lykmapipo/express-test-helpers": "^0.9.14", "@lykmapipo/mongoose-test-helpers": "^0.8.4", "chai": "^4.2.0", "grunt": "^1.3.0", "grunt-apidoc": "^0.11.0", "grunt-contrib-jshint": "^3.0.0", "grunt-contrib-watch": "^1.1.0", "grunt-mocha-test": "^0.13.3", "handlebars": "^4.7.6", "jshint-stylish": "^2.2.1", "lodash.template": "^4.5.0", "mocha": "^8.2.1", "mongoose": ">=5.11.8", "prettier": "^2.2.1", "shelljs": "^0.8.4", "sinon": "^9.2.2" }, "peerDependencies": { "mongoose": ">=5.11.8" }, "dependencies": { "@lykmapipo/common": ">=0.42.4", "@lykmapipo/env": ">=0.17.24", "@lykmapipo/express-common": ">=0.18.14", "@lykmapipo/express-rest-actions": ">=0.8.26", "@lykmapipo/mongoose-common": ">=0.38.4", "async": ">=3.2.0", "inflection": ">=1.12.0", "lodash": ">=4.17.20", "mongoose-rest-actions": ">=0.30.6" }, "engines": { "node": ">=8.11.1", "npm": ">=5.6.0" } }