forked from xueyou2000/swagger-to-code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.39 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
{
"name": "swagger-to-code",
"displayName": "swagger-to-code",
"description": "swagger文档代码生成",
"version": "0.0.31",
"icon": "logo.png",
"publisher": "XueYou",
"license": "MIT",
"engines": {
"vscode": "^1.39.0"
},
"categories": [
"Other",
"Programming Languages"
],
"activationEvents": [
"*"
],
"main": "./out/vscode-plugin/extension.js",
"contributes": {
"jsonValidation": [
{
"fileMatch": "swagger.json",
"url": "./assets/config-schema.json"
}
],
"commands": [
{
"command": "swagger.findInterface",
"title": "Swagger: find interface (寻找接口)"
},
{
"command": "swagger.findEntity",
"title": "Swagger find entity (寻找实体)"
}
],
"keybindings": [
{
"command": "swagger.findInterface",
"key": "ctrl+alt+i",
"mac": "cmd+alt+i"
},
{
"command": "swagger.findEntity",
"key": "ctrl+alt+e",
"mac": "cmd+alt+e"
}
],
"configuration": {
"title": "SwaggerToCode",
"properties": {
"swagger.filename": {
"type": [
"string"
],
"default": "swagger.json",
"desc": "swagger配置文件名称"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/lodash": "^4.14.144",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.39.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"vscode-test": "^1.2.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xueyou2000/swagger-to-code.git"
},
"dependencies": {
"lodash": "^4.17.15"
}
}