-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
165 lines (165 loc) · 4.17 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
{
"name": "json-utility",
"displayName": "JSON Utility",
"description": "Convert TS to JSON, Convert JSON to TS, Fix JSON and Beautify JSON",
"version": "1.0.1",
"publisher": "GanesanChandran",
"author": {
"name": "Ganesan Chandran <https://ganesan-chandran.github.io/>"
},
"engines": {
"vscode": "^1.64.0"
},
"icon": "images/json-utility-icon-new.png",
"repository": {
"type": "git",
"url": "https://github.com/Ganesan-Chandran/vscode-json-utility.git"
},
"keywords": [
"types",
"util",
"typescript",
"json",
"format",
"interface",
"fix",
"js",
"converter",
"json to ts",
"ts to json",
"json2ts",
"ts2json",
"json to interface",
"interface to json",
"json2interface",
"interface2json",
"json converter",
"json sample",
"prettify json",
"minify json",
"beautify json",
"json fix"
],
"categories": [
"Formatters",
"Extension Packs",
"Other"
],
"license": "MIT",
"homepage": "https://github.com/Ganesan-Chandran/vscode-json-utility",
"bugs": {
"url": "https://github.com/Ganesan-Chandran/vscode-json-utility/issues"
},
"activationEvents": [
"onCommand:json-utility.toJson",
"onCommand:json-utility.toTS",
"onCommand:json-utility.prettifyJson",
"onCommand:json-utility.minifyJson",
"onCommand:json-utility.fixJson"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "json-utility.toJson",
"title": "JSON Utility: Convert Interface to JSON Sample"
},
{
"command": "json-utility.toTS",
"title": "JSON Utility: Convert JSON to Interface"
},
{
"command": "json-utility.prettifyJson",
"title": "JSON Utility: Prettify the JSON"
},
{
"command": "json-utility.minifyJson",
"title": "JSON Utility: Minify the JSON"
},
{
"command": "json-utility.fixJson",
"title": "JSON Utility: Fix the JSON"
}
],
"keybindings": [
{
"command": "json-utility.toJson",
"key": "ctrl+alt+J",
"when": "editorTextFocus"
},
{
"command": "json-utility.toTS",
"key": "ctrl+alt+T",
"when": "editorTextFocus"
},
{
"command": "json-utility.prettifyJson",
"key": "ctrl+alt+P",
"when": "editorTextFocus"
},
{
"command": "json-utility.minifyJson",
"key": "ctrl+alt+M",
"when": "editorTextFocus"
},
{
"command": "json-utility.fixJson",
"key": "ctrl+alt+F",
"when": "editorTextFocus"
}
],
"configuration": [
{
"type": "object",
"title": "JSON Utility",
"properties": {
"json-utility.output": {
"type": "boolean",
"default": true,
"description": "Open the result in new window."
},
"json-utility.typeInUnionTypes": {
"type": "string",
"default": "Random Type",
"enum": [
"First Type",
"Random Type"
],
"enumDescriptions": [
"Select the first type in the union types for JSON output",
"Select the random type in the union types for JSON output"
],
"description": "Which type needs to select in the union types for JSON output?"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/jsonic": "^0.3.1",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.64.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@vscode/test-electron": "^2.0.3",
"eslint": "^8.6.0",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"typescript": "^4.5.4"
},
"dependencies": {
"fs": "0.0.1-security",
"jsonic": "^1.0.1",
"os": "^0.1.2"
}
}