-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3 KB
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
104
105
106
107
{
"name": "@cookiemonsterdev/casl-typeorm",
"version": "1.1.0",
"description": "TypeORM integration for CASL — filter find() queries, query builders and MongoDB filters by ability rules, including permissions on related records",
"type": "module",
"license": "MIT",
"author": "Mykhailo Toporkov",
"homepage": "https://github.com/cookieMonsterDev/casl-typeorm",
"bugs": {
"url": "https://github.com/cookieMonsterDev/casl-typeorm/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cookieMonsterDev/casl-typeorm.git"
},
"keywords": [
"casl",
"typeorm",
"authorization",
"permissions",
"acl",
"abac",
"rbac",
"query-builder",
"mongodb"
],
"engines": {
"node": "^20.19.0 || ^22.13.0 || >=24.11.0"
},
"publishConfig": {
"access": "public",
"provenance": true,
"registry": "https://registry.npmjs.org/"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "pnpm run build:js && pnpm run build:types",
"build:js": "vite build",
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly",
"dev": "vite build --watch",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p test/tsconfig.json --noEmit",
"test": "vitest run --project unit",
"test:watch": "vitest --project unit",
"test:integration": "vitest run --project integration",
"coverage": "vitest run --project unit --coverage",
"test:db:up": "bash scripts/compose-up.sh",
"test:db:down": "bash scripts/compose-down.sh",
"test:db:pull": "bash scripts/compose-pull.sh",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"clean": "rm -rf dist coverage",
"prepare": "husky"
},
"peerDependencies": {
"@casl/ability": "^7.0.0",
"typeorm": "^1.0.0"
},
"devDependencies": {
"@casl/ability": "^7.0.1",
"@commitlint/cli": "^21.2.2",
"@commitlint/config-conventional": "^21.2.2",
"@eslint/js": "^10.0.1",
"@semantic-release/changelog": "^7.0.0",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^11.0.1",
"@types/node": "^25.0.0",
"@vitest/coverage-v8": "^4.1.11",
"@vitest/eslint-plugin": "^1.6.27",
"better-sqlite3": "^12.11.1",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"lint-staged": "^17.0.0",
"mongodb": "^7.0.0",
"mssql": "^12.0.0",
"mysql2": "^3.15.3",
"pg": "^8.5.1",
"prettier": "^3.8.4",
"reflect-metadata": "^0.2.2",
"semantic-release": "^25.0.0",
"typeorm": "^1.1.1",
"typescript": "^6.0.0",
"typescript-eslint": "^8.61.1",
"vite": "^8.2.2",
"vitest": "^4.1.11"
},
"pnpm": {
"onlyBuiltDependencies": [
"better-sqlite3"
]
},
"packageManager": "pnpm@10.30.3"
}