| { |
| "name": "casbin-core", |
| "version": "1.0.0", |
| "description": "An authorization library that supports access control models like ACL, RBAC, ABAC in modern JavaScript platforms", |
| "main": "lib/index.js", |
| "typings": "lib/index.d.ts", |
| "module": "es/index.js", |
| "scripts": { |
| "prepack": "run-s lint test build", |
| "postpack": "run-s clean", |
| "prepublishOnly": "yarn run lint && yarn build", |
| "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", |
| "benchmark": "ts-node test/benchmark index.ts", |
| "lint": "eslint . --ext .js,.ts", |
| "fmt": "eslint . --ext .js,.ts --fix", |
| "commit": "git-cz", |
| "clean": "rimraf lib es dist", |
| "coverage": "jest --coverage", |
| "prepare": "husky install", |
| "release": "npx -p semantic-release -p @semantic-release/git -p @semantic-release/changelog semantic-release" |
| }, |
| "devDependencies": { |
| "@commitlint/cli": "^16.3.0", |
| "@commitlint/config-conventional": "^16.2.4", |
| "@rollup/plugin-typescript": "^8.2.5", |
| "@types/jest": "^26.0.20", |
| "@types/lodash": "^4.14.168", |
| "@types/minimatch": "^3.0.5", |
| "@types/node": "^10.5.3", |
| "@types/picomatch": "^2.2.2", |
| "@typescript-eslint/eslint-plugin": "^4.17.0", |
| "@typescript-eslint/parser": "^4.17.0", |
| "benny": "^3.7.1", |
| "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": "^8.0.0", |
| "jest": "^26.6.3", |
| "lint-staged": "^12.4.1", |
| "npm-run-all": "^4.1.5", |
| "prettier": "^2.2.1", |
| "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", |
| "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/casbin-core.git" |
| }, |
| "license": "Apache-2.0", |
| "publishConfig": { |
| "registry": "https://registry.npmjs.org/" |
| } |
| } |