forked from node-casbin/mongoose-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 2.46 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "casbin-mongoose-adapter",
"version": "3.0.1",
"description": "Mongoose adapter for Casbin",
"main": "lib/cjs/index.js",
"typings": "lib/cjs/index.d.ts",
"module": "lib/esm/index.js",
"license": "Apache-2.0",
"homepage": "https://github.com/node-casbin/mongoose-adapter",
"author": {
"name": "Node-Casbin"
},
"contributors": [
{
"name": "Eugene Obrezkov",
"email": "[email protected]",
"url": "https://ghaiklor.com"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/node-casbin/mongoose-adapter.git"
},
"bugs": {
"url": "https://github.com/node-casbin/mongoose-adapter/issues"
},
"keywords": [
"casbin",
"node-casbin",
"adapter",
"mongoose",
"access-control",
"authorization",
"auth",
"authz",
"acl",
"rbac",
"abac",
"orm"
],
"engines": {
"node": ">=8.0.0"
},
"publishConfig": {
"tag": "latest",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"lint": "eslint .",
"prepublishOnly": "npm run lint",
"test:integration": "nyc mocha -- --config test/integration/.mocharc.js",
"test:unit": "nyc mocha -- --config test/unit/.mocharc.js",
"tests": "run-s test:*",
"coverage": "nyc mocha -- --config test/.mocharc.js",
"postpack": "run-s clean",
"build": "run-s clean && run-p build:*",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"clean": "rimraf lib"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.21.0",
"casbin": "^5.1.0",
"chai": "^4.3.0",
"coveralls": "^3.0.9",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.20.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^5.0.0",
"husky": "^5.0.9",
"jsdoc-to-markdown": "^6.0.1",
"mocha": "^8.3.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"sinon": "^9.0.0",
"typescript": "^4.2.3"
},
"dependencies": {
"mongoose": "^5.12.3"
},
"peerDependencies": {
"casbin": "^5.0.7"
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"pre-commit": "npm run lint"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"nyc": {
"reporter": [
"lcov"
]
}
}