This repository has been archived by the owner on Apr 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
169 lines (169 loc) · 5.84 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "quicktype",
"displayName": "Paste JSON as Code",
"description": "Copy JSON, paste as Go, TypeScript, C#, C++ and more.",
"version": "23.0.105",
"publisher": "quicktype",
"icon": "media/icon.png",
"galleryBanner": {
"color": "#00212b",
"theme": "dark"
},
"homepage": "https://quicktype.io",
"author": {
"name": "quicktype.io",
"email": "[email protected]"
},
"bugs": {
"url": "https://github.com/quicktype-vscode/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/glideapps/quicktype-vscode"
},
"engines": {
"vscode": "^1.87.0"
},
"categories": [
"Other"
],
"keywords": [
"json",
"converter"
],
"markdown": "github",
"activationEvents": [
"onCommand:quicktype.pasteJSONAsTypes",
"onCommand:quicktype.pasteJSONAsTypesAndSerialization",
"onCommand:quicktype.pasteJSONSchemaAsTypes",
"onCommand:quicktype.pasteJSONSchemaAsTypesAndSerialization",
"onCommand:quicktype.pasteTypeScriptAsTypesAndSerialization",
"onCommand:quicktype.openForJSON",
"onCommand:quicktype.openForJSONSchema",
"onCommand:quicktype.openForTypeScript"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "quicktype",
"properties": {
"quicktype.justTypes": {
"type": "boolean",
"default": true,
"description": "Produce only types; no (de-)serialization code"
},
"quicktype.inferMaps": {
"type": "boolean",
"default": true,
"description": "Infer maps when object keys look like map keys."
},
"quicktype.inferEnums": {
"type": "boolean",
"default": true,
"description": "Infer enums when there aren't many different string values."
},
"quicktype.inferDateTimes": {
"type": "boolean",
"default": true,
"description": "Use date-time types for strings that look like date-times."
},
"quicktype.inferUuids": {
"type": "boolean",
"default": true,
"description": "Use UUID types for strings that look like UUIDs."
},
"quicktype.inferIntegerStrings": {
"type": "boolean",
"default": true,
"description": "Convert stringified integers into integers, and back."
},
"quicktype.inferBooleanStrings": {
"type": "boolean",
"default": true,
"description": "Convert stringified booleans into booleans, and back."
}
}
},
"commands": [
{
"command": "quicktype.pasteJSONAsTypes",
"title": "Paste JSON as Types"
},
{
"command": "quicktype.pasteJSONAsTypesAndSerialization",
"title": "Paste JSON as Code"
},
{
"command": "quicktype.pasteJSONSchemaAsTypes",
"title": "Paste JSON Schema as Types"
},
{
"command": "quicktype.pasteJSONSchemaAsTypesAndSerialization",
"title": "Paste JSON Schema as Code"
},
{
"command": "quicktype.pasteTypeScriptAsTypesAndSerialization",
"title": "Paste TypeScript as Code"
},
{
"command": "quicktype.openForJSON",
"title": "Open quicktype for JSON"
},
{
"command": "quicktype.openForJSONSchema",
"title": "Open quicktype for JSON Schema"
},
{
"command": "quicktype.openForTypeScript",
"title": "Open quicktype for TypeScript"
},
{
"command": "quicktype.changeTargetLanguage",
"title": "Set quicktype target language"
}
],
"keybindings": [
{
"command": "quicktype.pasteJSONAsTypesAndSerialization",
"key": "ctrl+shift+V",
"mac": "cmd+shift+V",
"when": "editorTextFocus && editorLangId != 'markdown'"
},
{
"command": "quicktype.pasteJSONAsTypes",
"key": "ctrl+shift+alt+V",
"mac": "cmd+shift+alt+V",
"when": "editorTextFocus"
}
]
},
"scripts": {
"publish": "vsce publish -p $VSCE_TOKEN",
"package": "vsce package",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/node-persist": "^3.1.8",
"@types/readable-stream": "^4.0.10",
"@types/vscode": "^1.87.0",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vscode/test-cli": "^0.0.6",
"@vscode/test-electron": "^2.3.9",
"@vscode/vsce": "^2.25.0",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"dependencies": {
"node-persist": "^4.0.1",
"quicktype-core": "^23.0.105",
"quicktype-typescript-input": "^23.0.105",
"unicode-properties": "github:quicktype/unicode-properties#dist"
}
}