UNPKG

role-calc

Version:

library to work with roles, contains calculation of times for the session, validation of required roles

46 lines 1.3 kB
{ "name": "role-calc", "version": "1.1.6", "description": "library to work with roles, contains calculation of times for the session, validation of required roles", "main": "dist/index.js", "repository": { "type": "git", "url": "git+https://github.com/kevoj/role-calc.git" }, "scripts": { "start": "npm run compile & nodemon src/index.js --exec babel-node", "compile": "babel --watch src -d dist", "test": "mocha --compilers js:babel-register" }, "keywords": [ "role", "rol", "has-role", "role-calc", "ttl", "ttl-role", "role-ttl", "time", "rol-time" ], "author": "Leonardo Rico Guevara - https://github.com/kevoj", "license": "MIT", "engines": { "node": "^6.2.2", "npm": "^3.9.5" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-es2015": "^6.24.1", "babel-preset-stage-2": "^6.24.1", "babel-register": "^6.26.0", "mocha": "^5.0.1" }, "dependencies": { "moment": "^2.20.1", "ms": "^2.1.1" } }