Skip to content

Commit 4215ec0

Browse files
committed
fixed some configs
1 parent 1ffe809 commit 4215ec0

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

package.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
11
{
22
"name": "graphql-codegen-validation-schema",
33
"version": "1.0.0",
4-
"description": "A plugin for GraphQL codegen to generate form validation schema from your GraphQL schema",
5-
"main": "./dist/index.js",
4+
"description": "GraphQL Code Generator plugin to generate form validation schema from your GraphQL schema",
5+
"respository": {
6+
"type": "git",
7+
"url": "https://github.com/Code-Hex/graphql-codegen-validation-schema.git"
8+
},
9+
"main": "dist/index.js",
10+
"files": [
11+
"dist/*.{js,ts}"
12+
],
613
"scripts": {
14+
"type-check": "tsc --noEmit",
715
"test": "echo \"Error: no test specified\" && exit 1",
8-
"generate": "tsc && graphql-codegen"
16+
"build": "tsc",
17+
"generate": "tsc && graphql-codegen",
18+
"prepublish": "tsc"
919
},
1020
"keywords": [
1121
"gql",
@@ -36,5 +46,8 @@
3646
"@graphql-codegen/visitor-plugin-common": "^2.5.2",
3747
"@graphql-tools/utils": "^8.6.1",
3848
"graphql": "^15.8.0"
49+
},
50+
"bugs": {
51+
"url": "https://github.com/Code-Hex/graphql-codegen-validation-schema/issues"
3952
}
4053
}

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "@tsconfig/recommended/tsconfig.json",
33
"compilerOptions": {
4-
"incremental": true,
4+
"declaration": false,
55
"outDir": "./dist",
66
"baseUrl": ".",
77
"paths": {}
@@ -10,7 +10,7 @@
1010
"src/*.ts"
1111
],
1212
"exclude": [
13-
"./schemas.ts",
13+
"./gen/*.ts",
1414
"./dist"
1515
]
1616
}

0 commit comments

Comments
 (0)