-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
74 lines (74 loc) · 1.81 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
{
"name": "casbin-basic-adapter",
"version": "1.1.0",
"description": "A basic adapter supports pg, sqlite3, mysql, mysql2, oracledb and mssql",
"main": "lib/adapter.js",
"typings": "lib/adapter.d.ts",
"scripts": {
"build": "rimraf lib && tsc",
"lint": "eslint --ext .ts src/ test/",
"format": "npm run format:check -- --write",
"format:check": "prettier --check \"**/*.{md,json}\" \"{src,test}/**/*.ts\"",
"test": "jest --forceExit"
},
"dependencies": {
"knex": "^2.5.1"
},
"devDependencies": {
"@semantic-release/git": "^10.0.1",
"@types/jest": "^29.5.3",
"@types/mssql": "^8.1.2",
"@types/mysql": "^2.15.21",
"@types/mysql2": "git+https://[email protected]/types/mysql2.git",
"@types/node": "^20.5.0",
"@types/oracledb": "^5.3.0",
"@types/pg": "^8.10.2",
"@types/sqlite3": "^3.1.8",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"casbin": "^5.26.2",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.2",
"mssql": "^9.1.3",
"mysql": "^2.18.1",
"mysql2": "^3.6.0",
"oracledb": "^6.0.3",
"pg": "^8.11.2",
"prettier": "^3.0.1",
"rimraf": "^5.0.1",
"semantic-release": "^21.0.7",
"sqlite3": "^5.1.6",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"peerDependencies": {
"casbin": "^5.1.2"
},
"files": [
"lib",
"test",
"examples"
],
"jest": {
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/test/*test.+(ts|tsx)"
],
"testEnvironmentOptions": {
"url": "http://localhost"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}