blob: 223f6846e66f92c614765a299cfb7d267ab2a481 [file]
{
"name": "casbin",
"version": "3.0.6",
"description": "An authorization library that supports access control models like ACL, RBAC, ABAC in Node.JS",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"prepack": "yarn run lint && yarn run test && yarn build",
"postpack": "rimraf lib",
"build": "rimraf lib && tsc",
"test": "jest",
"lint": "eslint . --ext .js,.ts"
},
"devDependencies": {
"@types/ip": "^0.0.31",
"@types/jest": "^24.0.11",
"@types/lodash": "^4.14.113",
"@types/node": "^10.5.3",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"coveralls": "^3.0.2",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^2.3.0",
"jest": "^24.3.1",
"lint-staged": "^8.1.7",
"prettier": "^1.18.2",
"pretty-quick": "^2.0.1",
"rimraf": "^2.6.2",
"ts-jest": "^24.0.0",
"tslint": "^5.11.0",
"typescript": "^3.7.2"
},
"dependencies": {
"expression-eval": "^2.0.0",
"ip": "^1.1.5",
"lodash": "^4.17.15"
},
"files": [
"lib",
"examples"
],
"homepage": "http://casbin.org",
"repository": {
"type": "git",
"url": "https://github.com/casbin/node-casbin.git"
},
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"husky": {
"hooks": {
"pre-commit": "yarn lint && pretty-quick --staged"
}
},
"publishConfig": {
"registry": "https://registry.yarnpkg.com"
}
}