| { |
| "name": "casbin", |
| "version": "5.14.0-beta.4", |
| "description": "An authorization library that supports access control models like ACL, RBAC, ABAC in JavaScript", |
| "main": "lib/index.js", |
| "typings": "lib/index.d.ts", |
| "module": "es/index.js", |
| "scripts": { |
| "prepack": "run-s lint test build", |
| "postpack": "run-s clean", |
| "build": "run-s clean && run-p build:**", |
| "build:lib:cjs": "tsc -p tsconfig.cjs.json", |
| "build:lib:esm": "tsc -p tsconfig.esm.json", |
| "build:dist": "rollup -c", |
| "test": "jest", |
| "lint": "eslint . --ext .js,.ts", |
| "fmt": "eslint . --ext .js,.ts --fix", |
| "semantic-release": "semantic-release", |
| "commit": "git-cz", |
| "clean": "rimraf lib es dist", |
| "coverage": "jest --coverage" |
| }, |
| "devDependencies": { |
| "@rollup/plugin-typescript": "^8.2.5", |
| "@semantic-release/changelog": "^5.0.1", |
| "@semantic-release/commit-analyzer": "^8.0.1", |
| "@semantic-release/git": "^9.0.0", |
| "@semantic-release/github": "^7.2.3", |
| "@semantic-release/npm": "^7.1.3", |
| "@semantic-release/release-notes-generator": "^9.0.3", |
| "@types/jest": "^26.0.20", |
| "@types/lodash": "^4.14.168", |
| "@types/node": "^10.5.3", |
| "@types/picomatch": "^2.2.2", |
| "@typescript-eslint/eslint-plugin": "^4.17.0", |
| "@typescript-eslint/parser": "^4.17.0", |
| "coveralls": "^3.0.2", |
| "cz-conventional-changelog": "^3.2.0", |
| "eslint": "^7.22.0", |
| "eslint-config-prettier": "^6.12.0", |
| "eslint-plugin-prettier": "^3.3.1", |
| "husky": "^2.3.0", |
| "jest": "^26.6.3", |
| "lint-staged": "^8.1.7", |
| "npm-run-all": "^4.1.5", |
| "prettier": "^2.2.1", |
| "pretty-quick": "^3.1.0", |
| "rimraf": "^3.0.2", |
| "rollup": "^2.58.0", |
| "rollup-plugin-commonjs": "^10.1.0", |
| "rollup-plugin-node-resolve": "^5.2.0", |
| "rollup-plugin-sourcemaps": "^0.6.3", |
| "rollup-plugin-terser": "^7.0.2", |
| "rollup-plugin-typescript2": "^0.30.0", |
| "semantic-release": "^17.4.4", |
| "ts-jest": "^26.5.3", |
| "tslint": "^5.11.0", |
| "typescript": "^4.3.5" |
| }, |
| "peerDependencies": {}, |
| "dependencies": { |
| "await-lock": "^2.0.1", |
| "buffer": "^6.0.3", |
| "expression-eval": "^4.0.0", |
| "minimatch": "^5.0.1" |
| }, |
| "files": [ |
| "lib", |
| "examples", |
| "es", |
| "dist" |
| ], |
| "homepage": "https://casbin.org", |
| "repository": { |
| "type": "git", |
| "url": "https://github.com/casbin/node-casbin.git" |
| }, |
| "license": "Apache-2.0", |
| "husky": { |
| "hooks": { |
| "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true", |
| "pre-commit": "yarn fmt && pretty-quick --staged" |
| } |
| }, |
| "config": { |
| "commitizen": { |
| "path": "./node_modules/cz-conventional-changelog" |
| } |
| }, |
| "publishConfig": { |
| "registry": "https://registry.npmjs.org/" |
| } |
| } |