-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 1.94 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
{
"name": "vscode-graphql-schema-to-typescript",
"displayName": "graphql-schema-to-typescript",
"description": "Simple Generate a typescript interface based on your graphql type",
"version": "0.0.9",
"publisher": "liyikunl",
"engines": {
"vscode": "^1.35.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:typescript",
"onCommand:graphql-transform.run"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "graphql-transform.run",
"title": "Transform graphql type to Typescript Interface"
}
],
"menus": {
"editor/context": [
{
"command": "graphql-transform.run",
"group": "navigation",
"title": "Transform graphql type to Typescript Interface"
}
]
},
"configuration": {
"title": "gql-schema-to-typescript",
"properties": {
"gstt.base.objectCode": {
"type": "string",
"default": "types",
"enum": [
"all",
"types",
"resolvers"
],
"enumDescriptions": [
"output types and resolvers",
"only output types",
"only output resolvers type"
]
},
"gstt.base.defaultConfig": {
"type": "string",
"default": "gql.json",
"description": "read config json from workcontext root"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.35.0",
"@types/graphql": "^14.2.3",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"tslint": "^5.12.1",
"vscode-test": "^1.0.2"
},
"dependencies": {
"graphql": "^14.4.2",
"graphql-schema-typescript": "^1.2.9",
"typescript": "^3.3.1"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/liyikun/vscode-graphql-schema-typescript"
}
}