UNPKG

2.32 kBJSONView Raw
1{
2 "name": "casbin",
3 "version": "5.19.0",
4 "description": "An authorization library that supports access control models like ACL, RBAC, ABAC in Node.JS",
5 "main": "lib/cjs/index.js",
6 "typings": "lib/cjs/index.d.ts",
7 "module": "lib/esm/index.js",
8 "scripts": {
9 "prepack": "run-s lint test build",
10 "postpack": "run-s clean",
11 "build": "run-s clean && run-p build:*",
12 "build:cjs": "tsc -p tsconfig.cjs.json",
13 "build:esm": "tsc -p tsconfig.esm.json",
14 "test": "jest",
15 "lint": "eslint . --ext .js,.ts",
16 "fmt": "eslint . --ext .js,.ts --fix",
17 "semantic-release": "semantic-release",
18 "commit": "git-cz",
19 "clean": "rimraf lib",
20 "coverage": "jest --coverage"
21 },
22 "devDependencies": {
23 "@semantic-release/changelog": "^5.0.1",
24 "@semantic-release/commit-analyzer": "^8.0.1",
25 "@semantic-release/git": "^9.0.0",
26 "@semantic-release/github": "^7.2.3",
27 "@semantic-release/npm": "^7.1.3",
28 "@semantic-release/release-notes-generator": "^9.0.3",
29 "@types/jest": "^26.0.20",
30 "@types/lodash": "^4.14.168",
31 "@types/picomatch": "^2.2.2",
32 "@types/node": "^10.5.3",
33 "@typescript-eslint/eslint-plugin": "^4.17.0",
34 "@typescript-eslint/parser": "^4.17.0",
35 "coveralls": "^3.0.2",
36 "cz-conventional-changelog": "^3.2.0",
37 "eslint": "^7.22.0",
38 "eslint-config-prettier": "^6.12.0",
39 "eslint-plugin-prettier": "^3.3.1",
40 "husky": "^2.3.0",
41 "jest": "^26.6.3",
42 "lint-staged": "^8.1.7",
43 "npm-run-all": "^4.1.5",
44 "prettier": "^2.2.1",
45 "pretty-quick": "^3.1.0",
46 "rimraf": "^3.0.2",
47 "semantic-release": "^17.4.4",
48 "ts-jest": "^26.5.3",
49 "tslint": "^5.11.0",
50 "typescript": "^3.7.2"
51 },
52 "dependencies": {
53 "await-lock": "^2.0.1",
54 "csv-parse": "^4.15.3",
55 "expression-eval": "^4.0.0",
56 "picomatch": "^2.2.3"
57 },
58 "files": [
59 "lib",
60 "examples"
61 ],
62 "homepage": "http://casbin.org",
63 "repository": {
64 "type": "git",
65 "url": "https://github.com/casbin/node-casbin.git"
66 },
67 "license": "Apache-2.0",
68 "husky": {
69 "hooks": {
70 "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
71 "pre-commit": "yarn fmt && pretty-quick --staged"
72 }
73 },
74 "config": {
75 "commitizen": {
76 "path": "./node_modules/cz-conventional-changelog"
77 }
78 }
79}