Skip to content

Commit b43ca98

Browse files
committed
chore: restore package.json to git
1 parent ad7251e commit b43ca98

2 files changed

Lines changed: 80 additions & 1 deletion

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ package-lock.json
77
coverage
88
Dockerfile.node-ci
99
ci_debug_helper.sh
10-
package.json

package.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"name": "casbin",
3+
"version": "5.43.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/commit-analyzer": "^8.0.1",
24+
"@semantic-release/github": "^7.2.3",
25+
"@semantic-release/npm": "^7.1.3",
26+
"@semantic-release/release-notes-generator": "^9.0.3",
27+
"@types/benchmark": "^2.1.5",
28+
"@types/jest": "^26.0.20",
29+
"@types/node": "^10.5.3",
30+
"@types/picomatch": "^2.2.2",
31+
"@typescript-eslint/eslint-plugin": "^4.17.0",
32+
"@typescript-eslint/parser": "^4.17.0",
33+
"benchmark": "^2.1.4",
34+
"coveralls": "^3.0.2",
35+
"cz-conventional-changelog": "^3.2.0",
36+
"eslint": "^7.22.0",
37+
"eslint-config-prettier": "^6.12.0",
38+
"eslint-plugin-prettier": "^3.3.1",
39+
"husky": "^2.3.0",
40+
"jest": "^26.6.3",
41+
"lint-staged": "^8.1.7",
42+
"npm-run-all": "^4.1.5",
43+
"prettier": "^2.2.1",
44+
"pretty-quick": "^3.1.0",
45+
"rimraf": "^3.0.2",
46+
"semantic-release": "^17.4.4",
47+
"ts-jest": "^26.5.3",
48+
"ts-node": "^10.9.2",
49+
"tslint": "^5.11.0",
50+
"typescript": "^3.7.2"
51+
},
52+
"dependencies": {
53+
"@casbin/expression-eval": "^5.3.0",
54+
"await-lock": "^2.0.1",
55+
"buffer": "^6.0.3",
56+
"csv-parse": "^5.5.6",
57+
"minimatch": "^7.4.2"
58+
},
59+
"files": [
60+
"lib",
61+
"examples"
62+
],
63+
"homepage": "http://casbin.org",
64+
"repository": {
65+
"type": "git",
66+
"url": "https://github.com/casbin/node-casbin.git"
67+
},
68+
"license": "Apache-2.0",
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+
}

0 commit comments

Comments
 (0)