-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.41 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.41 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
{
"name": "pundit",
"version": "0.4.1",
"description": "Minimal and tiny authorisation library that uses a plain old JavaScript object (POJO)",
"keywords": [
"authorisation",
"authorization",
"pundit",
"react"
],
"homepage": "https://pundit-community.github.io/pundit.js/",
"license": "MIT",
"author": "Pundit.js Team",
"contributors": [
"John Otander",
"Chris Alley"
],
"repository": {
"type": "git",
"url": "https://github.com/pundit-community/pundit.js"
},
"source": "src/index.ts",
"files": [
"dist/*"
],
"type": "module",
"module": "./dist/pundit.js",
"types": "./dist/pundit.d.ts",
"exports": [
"./dist/pundit.js"
],
"scripts": {
"build": "tsc && vite build",
"coverage": "vitest run --coverage",
"test": "vitest",
"test:ui": "vitest --ui",
"lint": "pnpx oxlint src/** test/**",
"lint:fix": "pnpx oxlint src/** test/** --fix",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"types": "tsc",
"typedoc": "pnpx typedoc",
"size": "size-limit",
"analyze": "size-limit --why",
"prepare": "husky",
"commitlint": "commitlint --edit"
},
"devDependencies": {
"@commitlint/cli": "^21.2.1",
"@commitlint/config-conventional": "^21.2.2",
"@commitlint/types": "^21.2.0",
"@microsoft/api-extractor": "^7.58.12",
"@size-limit/preset-small-lib": "^12.1.0",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@vitejs/plugin-react": "^6.0.5",
"@vitest/coverage-v8": "^4.1.10",
"@vitest/ui": "^4.1.10",
"globals": "^17.9.0",
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"oxfmt": "^0.44.0",
"oxlint": "^1.77.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"size-limit": "^12.1.0",
"typedoc": "^0.28.20",
"typescript": "^6.0.3",
"unplugin-dts": "1.0.2",
"vite": "^8.2.1",
"vitest": "^4.1.10"
},
"husky": {
"hooks": {
"pre-commit": "pnpm lint"
}
},
"size-limit": [
{
"path": "dist/pundit.js",
"limit": "10 KB"
},
{
"path": "dist/pundit.umd.cjs",
"limit": "10 KB"
}
],
"engines": {
"node": ">=24.14"
},
"packageManager": "pnpm@10.33.0+sha256.bfcc1bcbad279b13a516c446a75b3c58b6904b45d57a1951411015e50b751a80",
"pnpm": {
"overrides": {
"unplugin-dts>rollup": ">=4.59.0"
}
}
}