-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.84 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 3.84 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
{
"name": "@mattiasahlsen/zodql",
"version": "0.3.0",
"description": "A utility library for integrating Zod schemas with GraphQL in TypeScript projects.",
"type": "module",
"sideEffects": false,
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"scripts": {
"example:github-repo-overview": "tsx --tsconfig examples/tsconfig.json examples/github-repo-overview/main.ts",
"example:github-repo-overview:codegen": "tsx --tsconfig examples/tsconfig.json examples/github-repo-overview/alternatives/codegen/main.ts",
"example:github-repo-overview:gql-tada": "tsx --tsconfig examples/tsconfig.json examples/github-repo-overview/alternatives/gql-tada/main.ts",
"example:github-repo-overview:zeus": "tsx --tsconfig examples/tsconfig.json examples/github-repo-overview/alternatives/zeus/main.ts",
"gen:codegen": "graphql-codegen --config examples/github-repo-overview/alternatives/codegen/codegen.ts",
"gen:gql-tada": "gql.tada generate-output --tsconfig examples/github-repo-overview/alternatives/tsconfig.json",
"gen:zeus": "cd examples/github-repo-overview/alternatives/zeus && zeus _ --node --es -- ../schema.graphql",
"verify": "pnpm run verify:lint && pnpm run verify:format && pnpm run verify:typescript && pnpm run verify:docs",
"build": "pnpm run build:lint && pnpm run build:format && pnpm run build:typescript && pnpm run build:docs",
"test": "vitest run --coverage",
"test:updateSnapshots": "vitest run -u",
"build:docs": "tsx --tsconfig examples/tsconfig.json scripts/generate-readme.ts",
"verify:docs": "tsx --tsconfig examples/tsconfig.json scripts/verify-readme.ts",
"build:typescript": "rimraf ./dist && tsc -p ./tsconfig.build.json",
"verify:typescript": "tsc --noEmit && tsc -p ./examples && tsc -p ./examples/github-repo-overview/alternatives",
"build:lint": "eslint 'src/**/*.ts' --fix",
"verify:lint": "eslint 'src/**/*.ts'",
"build:format": "prettier --write '**/*.ts'",
"verify:format": "prettier --check '**/*.ts'",
"changeset": "changeset",
"version": "changeset version",
"release": "pnpm run build && changeset publish",
"prepublishOnly": "pnpm run build"
},
"keywords": [
"zod",
"graphql",
"typescript",
"schema",
"validation"
],
"author": "Mattias Ahlsén <mattias.ahlsen@gmail.com>",
"contributors": [
"Mattias Ahlsén <mattias.ahlsen@gmail.com>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mattiasahlsen/zodql.git"
},
"homepage": "https://github.com/mattiasahlsen/zodql#readme",
"bugs": {
"url": "https://github.com/mattiasahlsen/zodql/issues"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@0no-co/graphqlsp": "^1.17.3",
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.0",
"@graphql-codegen/cli": "^7.2.0",
"@graphql-codegen/client-preset": "^6.1.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@types/node": "^24.10.9",
"@vitest/coverage-v8": "^4.1.10",
"axios": "^1.18.1",
"eslint": "^9.39.2",
"gql.tada": "^1.11.2",
"graphql": "^16.14.2",
"graphql-request": "^7.4.0",
"graphql-zeus": "^7.2.1",
"nock": "^14.0.16",
"node-fetch": "^3.3.2",
"prettier": "^3.8.0",
"rimraf": "^6.1.2",
"tsx": "^4.23.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.1",
"vitest": "^4.1.10",
"zod": "4.0.0"
},
"peerDependencies": {
"zod": "^4.0.0"
},
"dependencies": {
"type-fest": "^5.4.2"
},
"engines": {
"node": ">=22"
},
"packageManager": "pnpm@11.12.0+sha512.820a6fbd0d9f04c226638002aead1e45340a9139dd5dc077c1d83ef44aa2481c8eb6637b4c9aa696a3c7e35ba818e49cf27213e5f2b91138d09b7a3e26e898ba"
}