-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
109 lines (109 loc) · 3.1 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
107
108
109
{
"name": "graphql-codegen-vscode",
"displayName": "graphql-codegen",
"publisher": "capaj",
"repository": {
"type": "git",
"url": "git+https://github.com/capaj/graphql-codegen-vscode.git"
},
"description": "integrates graphql-codegen into vscode, running it every time your query/mutation is saved",
"icon": "gql-codegen-cover.png",
"version": "1.1.4",
"engines": {
"vscode": "^1.94.0"
},
"categories": [
"Other"
],
"main": "./dist/graphql-codegen-vscode.js",
"activationEvents": [
"onLanguage:graphql",
"onLanguage:GraphQL",
"workspaceContains:package.json"
],
"contributes": {
"commands": [
{
"command": "graphql-codegen.generateGqlCodegen",
"title": "Generate GQL codegen"
}
],
"configuration": {
"title": "GraphQL Codegen",
"properties": {
"graphql-codegen.fileExtensionsDeclaringGraphQLDocuments": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"graphql",
"gql"
],
"description": "GraphQL Codegen will automatically re-run codegen when files matching these file extensions are saved."
},
"graphql-codegen.filePathToWatch": {
"type": [
"string",
"null"
],
"default": null,
"markdownDescription": "If specified, GraphQL Codegen will only re-run codegen if the files match the specified glob path. Uses [minimatch](https://github.com/isaacs/minimatch) glob syntax."
},
"graphql-codegen.configFilePath": {
"type": [
"string",
"null"
],
"default": null,
"markdownDescription": "Path to the codegen configuration file"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"pub": "vsce publish",
"build": "esbuild src/extension.ts --bundle --outfile=dist/graphql-codegen-vscode.js --sourcemap --external:vscode --platform=node",
"compile": "tsc -p ./",
"tsc": "tsc --noEmit",
"watch": "tsc -watch -p ./",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "npm run pretest"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/lodash.clonedeep": "^4.5.9",
"@types/mocha": "^10.0.9",
"@types/node": "^22.7.5",
"@types/vscode": "^1.94.0",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"esbuild": "^0.24.0",
"eslint": "^9",
"glob": "^11.0.0",
"husky": "^9.1.6",
"mocha": "^10.7.3",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"ts-loader": "^9.5.1",
"typescript": "^5.6.3",
"vscode-test": "^1.6.1"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"dependencies": {
"@graphql-codegen/cli": "^5.0.3",
"globby": "^14.0.2",
"graphql": "^16.9.0",
"graphql-config": "^5.1.3",
"lodash.clonedeep": "^4.5.0",
"multimatch": "^7.0.0"
}
}