-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpackage.json
106 lines (106 loc) · 3.13 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
104
105
106
{
"name": "graphql-codegen-typescript-validation-schema",
"type": "module",
"version": "0.17.0",
"packageManager": "[email protected]",
"description": "GraphQL Code Generator plugin to generate form validation schema from your GraphQL schema",
"respository": {
"type": "git",
"url": "https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema.git"
},
"author": "codehex",
"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"
],
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
},
"default": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
}
},
"./package.json": "./package.json"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "dist/types/index.d.ts",
"typescript": {
"definition": "dist/types/index.d.ts"
},
"files": [
"!dist/**/*.tsbuildinfo",
"LICENSE",
"README.md",
"dist/**/*.{js,ts,json}"
],
"scripts": {
"type-check": "tsc --noEmit",
"type-check:yup": "tsc --strict --skipLibCheck --noEmit example/yup/schemas.ts",
"type-check:zod": "tsc --strict --skipLibCheck --noEmit example/zod/schemas.ts",
"type-check:myzod": "tsc --strict --skipLibCheck --noEmit example/myzod/schemas.ts",
"type-check:valibot": "tsc --strict --skipLibCheck --noEmit example/valibot/schemas.ts",
"test": "vitest run",
"build": "run-p build:*",
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"build:types": "tsc -p tsconfig.types.json",
"lint": "eslint .",
"lint-fix": "eslint . --fix",
"generate": "run-p build:* && graphql-codegen",
"generate:esm": "run-p build:* && graphql-codegen-esm",
"prepublish": "run-p build:*"
},
"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": {
"@antfu/eslint-config": "^3.0.0",
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/typescript": "^4.0.0",
"@tsconfig/recommended": "1.0.8",
"@types/graphlib": "^2.1.8",
"@types/node": "^22.0.0",
"eslint": "9.18.0",
"jest": "29.7.0",
"myzod": "1.12.0",
"npm-run-all2": "7.0.2",
"ts-dedent": "^2.2.0",
"ts-jest": "29.2.5",
"typescript": "5.7.3",
"valibot": "0.42.1",
"vitest": "^3.0.0",
"yup": "1.6.1",
"zod": "3.24.1"
}
}