forked from SugarDarius/anzen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.73 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 2.73 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
{
"name": "@sugardarius/anzen",
"version": "2.1.2",
"description": "Fast, flexible, framework validation agnostic, type‑safe factories for creating route handlers, page and layout Server Component files in Next.js.",
"license": "MIT",
"packageManager": "npm@11.3.0",
"workspaces": [
".",
"www"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"types": "./dist/index.d.cts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"module": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"./server-components": {
"import": {
"types": "./dist/server-components/index.d.ts",
"default": "./dist/server-components/index.js"
},
"require": {
"types": "./dist/server-components/index.d.cts",
"module": "./dist/server-components/index.js",
"default": "./dist/server-components/index.cjs"
}
}
},
"files": [
"dist/**",
"README.md",
"LICENSE"
],
"author": {
"name": "Aurélien Dupays Dexemple",
"url": "https://aureliendupaysdexemple.com"
},
"repository": {
"type": "git",
"url": "https://github.com/SugarDarius/anzen"
},
"bugs": {
"url": "https://github.com/SugarDarius/anzen/issues"
},
"keywords": [
"nextjs",
"safe route handlers",
"safe page server components",
"safe layout server components",
"framework agnostic validation",
"type-safe validation",
"type-safe authorization"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "tsup --watch",
"build": "tsup --minify",
"dev:www": "turbo run dev --filter=www",
"build:www": "turbo run build --filter=www",
"test": "vitest run --silent",
"lint": "npm run lint:eslint && npm run lint:tsc && npm run lint:package",
"lint:eslint": "eslint src/",
"lint:tsc": "tsc --noEmit",
"lint:package": "publint --strict && attw --pack . --profile node16",
"format": "prettier --write src/",
"release": "release-it"
},
"peerDependencies": {
"next": "^16 || ^15 || ^14",
"typescript": "^5"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.2",
"@release-it/keep-a-changelog": "^7.0.0",
"@types/node": "^25.0.8",
"@types/react": "^19.2.8",
"decoders": "^2.7.5",
"eslint": "^9.39.2",
"prettier": "^3.7.4",
"publint": "^0.3.16",
"release-it": "^19.2.3",
"tsup": "^8.5.1",
"turbo": "^2.5.6",
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.0",
"vitest": "^3.2.4",
"zod": "^4.3.5"
}
}