-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.48 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 3.48 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "m8test",
"publisher": "M8Test",
"repository": {
"type": "git",
"url": "https://github.com/m8test/vscode-extension.git"
},
"displayName": "M8Test",
"description": "M8Test 官方VSCode插件",
"version": "0.1.7",
"icon": "resources/logo.png",
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "m8test.createProject",
"title": "创建项目",
"category": "M8Test"
},
{
"command": "m8test.openPanel",
"title": "打开 M8Test 面板",
"category": "M8Test"
},
{
"command": "m8test.startDocServer",
"title": "启动文档服务器",
"category": "M8Test"
},
{
"command": "m8test.setUpEnvironment",
"title": "安装环境",
"category": "M8Test"
},
{
"command": "m8test.startLogService",
"title": "连接日志服务",
"category": "M8Test"
},
{
"command": "m8test.startScrcpy",
"title": "启动Scrcpy",
"category": "M8Test"
}
],
"configuration": {
"title": "M8Test 配置",
"properties": {
"m8test.maxReconnectAttempts": {
"type": "number",
"default": 5,
"description": "WebSocket 最大重连尝试次数"
},
"m8test.reconnectInterval": {
"type": "number",
"default": 3000,
"description": "WebSocket 重连间隔(毫秒)"
},
"m8test.logFilePath": {
"type": "string",
"description": "自定义日志文件路径"
},
"m8test.autoRevealLogOutput": {
"type": "boolean",
"default": false,
"description": "收到日志时自动显示输出面板"
},
"m8test.scrcpy.path": {
"type": "string",
"default": "",
"description": "Scrcpy可执行文件路径",
"scope": "resource"
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "pnpm run check-types && pnpm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "pnpm run check-types && pnpm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/serve-handler": "^6.1.4",
"@types/unzipper": "^0.10.11",
"@types/vscode": "^1.70.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.28.0",
"@typescript-eslint/parser": "^8.28.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.25.1",
"eslint": "^9.23.0",
"npm-run-all": "^4.1.5",
"pnpm": "^10.11.1",
"typescript": "^5.8.2"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.787.0",
"fs-extra": "^11.3.0",
"node-fetch": "^3.3.2",
"open": "^10.1.2",
"serve-handler": "^6.1.6",
"unzipper": "^0.12.3",
"ws": "^8.18.1"
}
}