This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
forked from casbin/node-casbin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 1.55 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
{
"name": "casbin",
"version": "1.1.9",
"description": "An authorization library that supports access control models like ACL, RBAC, ABAC in Node.JS",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"precommit": "lint-staged",
"prepublish": "yarn run lint && yarn run test && yarn build",
"build": "rimraf lib && tsc",
"lint": "tslint \"src/**/*.ts\"",
"fix": "tslint \"src/**/*.ts\" --fix",
"test": "jest"
},
"devDependencies": {
"@types/ip": "^0.0.31",
"@types/jest": "^23.3.1",
"@types/lodash": "^4.14.113",
"@types/node": "^10.5.3",
"husky": "^0.14.3",
"jest": "^23.4.2",
"lint-staged": "^7.2.0",
"rimraf": "^2.6.2",
"ts-jest": "22.4.6",
"tslint": "^5.11.0",
"typescript": "^2.9.2"
},
"dependencies": {
"coveralls": "^3.0.2",
"expression-eval": "^1.3.0",
"ip": "^1.1.5",
"lodash": "^4.17.10"
},
"files": [
"lib",
"examples"
],
"homepage": "http://casbin.org",
"repository": {
"type": "git",
"url": "https://github.com/casbin/node-casbin.git"
},
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"lint-staged": {
"*.{ts,js}": [
"tslint --fix",
"git add"
]
},
"jest": {
"testURL": "http://localhost",
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/test/*.+(ts|tsx)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}