1 | {
|
2 | "name": "casbin",
|
3 | "version": "5.1.6",
|
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 | },
|
21 | "devDependencies": {
|
22 | "@semantic-release/changelog": "^3.0.6",
|
23 | "@semantic-release/git": "^7.0.18",
|
24 | "@types/ip": "^0.0.31",
|
25 | "@types/jest": "^24.0.11",
|
26 | "@types/lodash": "^4.14.113",
|
27 | "@types/micromatch": "^4.0.1",
|
28 | "@types/node": "^10.5.3",
|
29 | "@typescript-eslint/eslint-plugin": "^2.6.1",
|
30 | "@typescript-eslint/parser": "^2.6.1",
|
31 | "coveralls": "^3.0.2",
|
32 | "cz-conventional-changelog": "^3.2.0",
|
33 | "eslint": "^6.6.0",
|
34 | "eslint-config-prettier": "^6.5.0",
|
35 | "eslint-plugin-prettier": "^3.1.1",
|
36 | "husky": "^2.3.0",
|
37 | "jest": "^24.3.1",
|
38 | "lint-staged": "^8.1.7",
|
39 | "npm-run-all": "^4.1.5",
|
40 | "prettier": "^1.19.1",
|
41 | "pretty-quick": "^2.0.1",
|
42 | "rimraf": "^2.6.2",
|
43 | "semantic-release": "^15.13.31",
|
44 | "ts-jest": "^24.0.0",
|
45 | "tslint": "^5.11.0",
|
46 | "typescript": "^3.7.2"
|
47 | },
|
48 | "dependencies": {
|
49 | "await-lock": "^2.0.1",
|
50 | "expression-eval": "^2.0.0",
|
51 | "ip": "^1.1.5",
|
52 | "micromatch": "^4.0.2"
|
53 | },
|
54 | "files": [
|
55 | "lib",
|
56 | "examples"
|
57 | ],
|
58 | "homepage": "http://casbin.org",
|
59 | "repository": {
|
60 | "type": "git",
|
61 | "url": "https://github.com/casbin/node-casbin.git"
|
62 | },
|
63 | "licenses": [
|
64 | {
|
65 | "type": "Apache-2.0",
|
66 | "url": "http://www.apache.org/licenses/LICENSE-2.0"
|
67 | }
|
68 | ],
|
69 | "husky": {
|
70 | "hooks": {
|
71 | "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
|
72 | "pre-commit": "yarn fmt && pretty-quick --staged"
|
73 | }
|
74 | },
|
75 | "config": {
|
76 | "commitizen": {
|
77 | "path": "./node_modules/cz-conventional-changelog"
|
78 | }
|
79 | }
|
80 | }
|