@acaldas/graphql-codegen-typescript-validation-schema
Version:
GraphQL Code Generator plugin to generate form validation schema from your GraphQL schema
88 lines (87 loc) • 2.63 kB
JSON
{
"name": "@acaldas/graphql-codegen-typescript-validation-schema",
"version": "0.12.3",
"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"
},
"main": "dist/main/index.js",
"typings": "dist/main/index.d.ts",
"module": "dist/module/index.js",
"files": [
"dist/**/*.{js,ts}",
"LICENSE",
"README.md"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"type-check": "tsc --noEmit",
"type-check:yup": "tsc --strict --noEmit example/yup/schemas.ts",
"type-check:zod": "tsc --strict --noEmit example/zod/schemas.ts",
"type-check:myzod": "tsc --strict --noEmit example/myzod/schemas.ts",
"test": "vitest run",
"build": "run-p build:*",
"build:main": "tsc -p tsconfig.main.json",
"build:module": "tsc -p tsconfig.module.json",
"lint": "eslint --ext .ts .",
"lint-fix": "eslint --fix --ext .ts .",
"prettier": "prettier --write --list-different \"**/*.{ts,graphql,yml}\"",
"prettier:check": "prettier --check \"**/*.{ts,graphql,yml}\"",
"generate": "run-p build:* && graphql-codegen",
"prepublish": "run-p build:*"
},
"keywords": [
"gql",
"generator",
"yup",
"zod",
"code",
"types",
"graphql",
"codegen",
"apollo",
"node",
"types",
"typings"
],
"author": "codehex",
"license": "MIT",
"devDependencies": {
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/typescript": "^4.0.0",
"@tsconfig/recommended": "1.0.2",
"@types/graphlib": "^2.1.8",
"@types/jest": "29.5.4",
"@types/node": "^18.17.5",
"@typescript-eslint/eslint-plugin": "6.5.0",
"@typescript-eslint/parser": "6.5.0",
"eslint": "8.48.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-simple-import-sort": "^10.0.0",
"graphql": "^16.8.0",
"jest": "29.6.4",
"myzod": "1.10.1",
"npm-run-all": "4.1.5",
"prettier": "3.0.3",
"ts-dedent": "^2.2.0",
"ts-jest": "29.1.1",
"typescript": "5.2.2",
"vitest": "^0.34.1",
"yup": "1.2.0",
"zod": "3.22.2"
},
"dependencies": {
"@graphql-codegen/plugin-helpers": "^5.0.0",
"@graphql-codegen/schema-ast": "4.0.0",
"@graphql-codegen/visitor-plugin-common": "^4.0.0",
"@graphql-tools/utils": "^10.0.0",
"graphlib": "^2.1.8"
},
"bugs": {
"url": "https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/issues"
},
"peerDependencies": {
"graphql": "^16.8.0"
}
}