-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 2.55 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 2.55 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
{
"name": "easy-yapi",
"displayName": "easy-yapi",
"description": "a tool for add yapi api and replace code any for typescript",
"version": "1.3.0",
"author": "Drowned-fish",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/Drowned-fish/easy-yapi.git"
},
"contributes": {
"commands": [
{
"command": "easy-yapi.add",
"title": "新增接口"
},
{
"command": "easy-yapi.replaceApi",
"title": "替换当前接口"
},
{
"command": "easy-yapi.replaceFile",
"title": "替换当前文件所有any"
}
],
"menus": {
"editor/context": [
{
"when": "editorTextFocus",
"command": "easy-yapi.replaceFile",
"group": "navigation"
},
{
"when": "editorTextFocus",
"command": "easy-yapi.replaceApi",
"group": "navigation"
},
{
"when": "editorTextFocus",
"command": "easy-yapi.add",
"group": "navigation"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "killAny",
"title": "KILL ANY",
"icon": "media/svgIcon.svg"
}
]
},
"views": {
"killAny": [
{
"id": "killAny",
"name": "替换记录",
"when": "true",
"command": "easy-yapi.history"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "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",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.8",
"@types/node": "20.x",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.11.1",
"ts-loader": "^9.5.1",
"typescript": "^5.6.2",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@babel/parser": "^7.26.8",
"@babel/traverse": "^7.26.8",
"@types/babel__traverse": "^7.20.6",
"axios": "^1.7.9",
"dayjs": "^1.11.13"
}
}