-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
103 lines (103 loc) · 2.64 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
99
100
101
102
103
{
"name": "pundit",
"version": "0.3.1",
"description": "Minimal and tiny authorisation library that uses a plain old JavaScript object (POJO)",
"keywords": [
"authorisation",
"authorization",
"pundit",
"react"
],
"homepage": "https://github.com/pundit-community/pundit.js",
"license": "MIT",
"author": "Pundit.js Team",
"contributors": [
"John Otander",
"Chris Alley"
],
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/pundit-community/pundit.js"
},
"exports": [
"./dist/pundit.js"
],
"source": "src/index.ts",
"files": [
"dist/pundit.js"
],
"engines": {
"node": ">=22.12"
},
"packageManager": "[email protected]+sha256.09a8fe31a34fda706354680619f4002f4ccef6dadff93240d24ef6c831f0fd28",
"scripts": {
"build": "tsc && vite build",
"coverage": "vitest run --coverage",
"test": "vitest",
"test:ui": "vitest --ui",
"lint": "pnpx eslint src/** test/**",
"lint:fix": "pnpx eslint src/** test/** --fix",
"remark": "remark .",
"remark:fix": "remark . --output",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
"types": "tsc",
"typedoc": "pnpx typedoc",
"size": "size-limit",
"analyze": "size-limit --why",
"prepare": "husky",
"commitlint": "commitlint --edit"
},
"peerDependencies": {
"react": ">=20.17"
},
"husky": {
"hooks": {
"pre-commit": "pnpm lint"
}
},
"module": "dist/pundit-new.esm.js",
"size-limit": [
{
"path": "dist/pundit.mjs",
"limit": "10 KB"
},
{
"path": "dist/pundit.umd.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/types": "^19.5.0",
"@eslint/js": "^9.17.0",
"@size-limit/preset-small-lib": "^10.0.3",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.34.7",
"eslint": "^9.17.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-react": "^7.37.3",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jsdom": "^26.0.0",
"prettier": "3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"remark-cli": "^12.0.1",
"remark-preset-lint-markdown-style-guide": "^5.1.3",
"size-limit": "^10.0.3",
"typedoc": "^0.27.6",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.0",
"unified-prettier": "^2.0.1",
"vite": "^6.0.6",
"vitest": "^0.34.6"
}
}