-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
98 lines (98 loc) · 2.16 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
{
"name": "typeorm-adapter",
"version": "1.3.0",
"description": "TypeORM adapter for Casbin",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"precommit": "lint-staged",
"prepublish": "yarn run lint && yarn build",
"build": "rimraf lib && tsc",
"coverage": "jest --coverage --runInBand",
"lint": "eslint \"src/**/*.{ts,js,jsx}\"",
"fix": "eslint \"src/**/*.{ts,js,jsx}\" --fix",
"test": "jest --runInBand",
"release": "npx -p semantic-release -p @semantic-release/git -p @semantic-release/changelog semantic-release",
"prepare": "npm run build"
},
"devDependencies": {
"@types/jest": "^23.3.5",
"@types/node": "^20.6.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"coveralls": "^3.0.2",
"eslint": "^8.49.0",
"husky": "^1.1.2",
"jest": "^28.1.3",
"lint-staged": "^7.3.0",
"mysql2": "^2.1.0",
"pg": "^8.4.2",
"rimraf": "^2.6.2",
"sqlite3": "^5.1.7",
"ts-jest": "28.0.7",
"typescript": "^5.2.2"
},
"dependencies": {
"casbin": "^5.27.0",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.3.17"
},
"files": [
"lib",
"examples"
],
"homepage": "https://casbin.org",
"repository": {
"type": "git",
"url": "https://github.com/node-casbin/typeorm-adapter.git"
},
"keywords": [
"casbin",
"node-casbin",
"adapter",
"typeorm",
"access-control",
"authorization",
"auth",
"authz",
"acl",
"rbac",
"abac",
"orm"
],
"author": "Node-Casbin",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"bugs": {
"url": "https://github.com/node-casbin/typeorm-adapter/issues"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix",
"git add"
]
},
"jest": {
"testEnvironmentOptions": {
"url": "http://localhost"
},
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/test/*.test.+(ts|tsx)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}