-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 2.44 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
{
"name": "yapi-to-ts",
"displayName": "yapi-to-ts",
"description": "a vsCode plugin fork by yapi-to-typescript",
"version": "0.0.2",
"publisher": "pengian",
"repository": {
"url": "https://github.com/Pengian/vscode-yapi-to-ts.git"
},
"engines": {
"vscode": "^1.53.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./dist/extension.js",
"icon": "logo.png",
"contributes": {
"commands": [
{
"command": "yapi-to-ts.initConfig",
"title": "初始化yapi配置文件"
},
{
"command": "yapi-to-ts.generator",
"title": "生成yapi接口定义文件"
},
{
"command": "yapi-to-ts.last-config-to-generate",
"title": "沿用最近yapi配置"
}
],
"menus": {
"commandPalette": [
{
"command": "yapi-to-ts.initConfig",
"when": "false"
},
{
"command": "yapi-to-ts.generator"
},
{
"command": "yapi-to-ts.last-config-to-generate"
}
],
"explorer/context": [
{
"command": "yapi-to-ts.initConfig",
"group": "navigation@1",
"label": "初始化yapi配置",
"when": "false && resourceFilename == package.json"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "cross-env MODE=production webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"build": "vsce package --yarn"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/to-json-schema": "^0.2.1",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"@vscode/test-electron": "^2.1.3",
"cross-env": "^7.0.3",
"eslint": "^8.16.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"ts-loader": "^9.3.0",
"typescript": "^4.7.2",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@types/json-schema": "^7.0.11",
"change-case": "^4.1.2",
"dayjs": "^1.11.3",
"form-data": "^3",
"fs-extra": "^10.1.0",
"got": "^12.1.0",
"json-schema-to-typescript": "^10.1.4",
"json5": "^2.2.1",
"prettier": "^2.2.1",
"to-json-schema": "^0.2.5",
"vtils": "^4.61.0"
}
}