-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 2.58 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
{
"name": "transform-json",
"displayName": "transform json",
"description": "transform json to TypeScript interface for VS Code extension",
"version": "1.0.2",
"publisher": "raotao",
"icon": "assets/jt.png",
"pricing": "Free",
"engines": {
"vscode": "^1.6.0"
},
"repository": {
"type": "git",
"url": "https://github.com/raotaohub/vscode-transform"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:typescript"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "transform.json.toTypeScript",
"title": "Json to Ts"
},
{
"command": "transform.jsonSschema.toTypeScript",
"title": "Json Schema to Ts"
},
{
"command": "transform.javascript.toTypeScript",
"title": "Js to Ts"
}
],
"keybindings": [
{
"command": "transform.json.toTypeScript",
"key": "ctrl+shift+alt+z",
"mac": "ctrl+shift+cmd+z",
"when": "editorTextFocus"
},
{
"command": "transform.jsonSschema.toTypeScript",
"key": "ctrl+shift+alt+x",
"mac": "ctrl+shift+cmd+x",
"when": "editorTextFocus"
},
{
"command": "transform.javascript.toTypeScript",
"key": "ctrl+shift+alt+c",
"mac": "ctrl+shift+cmd+c",
"when": "editorTextFocus"
}
],
"submenus": [
{
"id": "transform/sub",
"label": "Transform Json"
}
],
"menus": {
"editor/context": [
{
"submenu": "transform/sub",
"group": "navigation"
}
],
"transform/sub": [
{
"when": "editorFocus",
"command": "transform.json.toTypeScript",
"group": "transform_@1"
},
{
"when": "editorFocus",
"command": "transform.jsonSschema.toTypeScript",
"group": "transform_@2"
},
{
"when": "editorFocus",
"command": "transform.javascript.toTypeScript",
"group": "transform_@3"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^16.18.34",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"typescript": "^5.1.3"
},
"dependencies": {
"json-schema-to-typescript": "^10.1.4",
"typeof-sjsonc": "^1.0.6"
}
}