-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 2.99 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 2.99 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
108
109
110
111
112
{
"name": "@rallyspace/graphql-codegen-validators",
"type": "module",
"version": "0.17.1",
"packageManager": "pnpm@10.11.1",
"description": "GraphQL Code Generator plugin to generate validation schemas",
"respository": "rallyspace/graphql-codegen-validators",
"author": "Rally",
"license": "MIT",
"bugs": {
"url": "https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/issues"
},
"keywords": [
"gql",
"generator",
"yup",
"zod",
"code",
"types",
"graphql",
"codegen",
"apollo",
"node",
"types",
"typings",
"valibot"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"files": [
"dist/**/*.{js,ts,json}",
"!dist/**/*.tsbuildinfo",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"format": "prettier --write .",
"format-check": "prettier --check .",
"generate": "pnpm build && graphql-codegen-esm",
"lint": "oxlint .",
"lint-fix": "oxlint . --fix",
"prepare": "husky",
"prepublish": "pnpm build",
"test": "vitest run",
"type-check": "tsc --noEmit",
"type-check:myzod": "tsc --strict --skipLibCheck --noEmit example/myzod/schemas.ts",
"type-check:valibot": "tsc --strict --skipLibCheck --noEmit example/valibot/schemas.ts",
"type-check:yup": "tsc --strict --skipLibCheck --noEmit example/yup/schemas.ts",
"type-check:zod": "tsc --strict --skipLibCheck --noEmit example/zod/schemas.ts"
},
"engines": {
"node": ">=20.19.0"
},
"peerDependencies": {
"graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"@graphql-codegen/plugin-helpers": "^5.0.0",
"@graphql-codegen/schema-ast": "4.1.0",
"@graphql-codegen/visitor-plugin-common": "^5.0.0",
"@graphql-tools/utils": "^10.0.0",
"graphlib": "^2.1.8",
"graphql": "^16.6.0"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.6",
"@graphql-codegen/typescript": "^4.0.0",
"@tsconfig/recommended": "1.0.8",
"@types/graphlib": "^2.1.8",
"@types/node": "^22.0.0",
"husky": "^9.1.7",
"jest": "29.7.0",
"lint-staged": "^16.1.0",
"myzod": "1.12.1",
"npm-run-all2": "8.0.4",
"oxlint": "^0.17.0",
"prettier": "^3.5.3",
"prettier-plugin-package": "^1.4.0",
"ts-dedent": "^2.2.0",
"ts-jest": "29.3.4",
"typescript": "5.8.3",
"valibot": "1.1.0",
"vitest": "^3.0.0",
"yup": "1.6.1",
"zod": "3.25.51"
},
"lint-staged": {
"*.{ts,js}?(x)": [
"oxlint --format stylish --fix",
"prettier --write"
],
"**/(package|tsconfig(.*)?).json": [
"prettier --write"
],
"(pnpm-workspace|.github/**/*).{yml,yaml}": [
"prettier --write"
],
"*package.json": [
"prettier --write --plugin=prettier-plugin-package"
],
"((.github/**/*)|(README|CHANGELOG)|(**/(README|CHANGELOG))).md": [
"prettier --write"
]
}
}