-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 5.66 KB
/
package.json
File metadata and controls
158 lines (158 loc) · 5.66 KB
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
{
"name": "quicktype",
"displayName": "Paste JSON as Code",
"description": "Copy JSON, paste as Go, TypeScript, C#, C++ and more.",
"version": "23.0.122",
"publisher": "quicktype",
"icon": "media/icon.png",
"galleryBanner": {
"color": "#00212b",
"theme": "dark"
},
"homepage": "https://quicktype.io",
"author": {
"name": "quicktype.io",
"email": "hello@quicktype.io"
},
"bugs": {
"url": "https://github.com/quicktype/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/glideapps/quicktype"
},
"engines": {
"vscode": "^1.87.0"
},
"categories": ["Other"],
"keywords": ["json", "converter"],
"markdown": "github",
"main": "dist/extension.js",
"vsce": {
"dependencies": false
},
"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": {
"pub": "vsce publish -p $VSCE_TOKEN",
"package": "vsce package",
"build": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run build && node ./node_modules/vscode/bin/test",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "~22.14.0",
"@types/node-persist": "^3.1.8",
"@types/readable-stream": "^4.0.10",
"@types/vscode": "^1.87.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.7.0",
"@vscode/test-cli": "^0.0.6",
"@vscode/test-electron": "^2.3.9",
"@vscode/vsce": "^2.25.0",
"eslint": "^8.56.0",
"typescript": "~5.8.3",
"node-persist": "^4.0.1",
"quicktype-core": "file:../quicktype-core",
"quicktype-typescript-input": "file:../quicktype-typescript-input",
"unicode-properties": "github:quicktype/unicode-properties#dist"
}
}