-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 3 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
{
"name": "z-code-tools",
"displayName": "Z-Code Tools",
"description": "帮助你在大型代码文件中快速划分功能区块,支持自定义注释标记、可视化分区和代码折叠,特别适合 Vue、JavaScript 和 TypeScript 开发场景。",
"version": "0.0.1",
"engines": {
"vscode": "^1.115.0"
},
"keywords": [
"vue",
"vue3",
"javascript",
"typescript",
"fold",
"region",
"section",
"comment",
"code folding",
"navigation",
"large file",
"structure"
],
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished",
"onCommand:z-code-tools.insertRegionBlock",
"onCommand:z-code-tools.openSettingsPanel"
],
"main": "./dist/main.js",
"contributes": {
"commands": [
{
"command": "z-code-tools.insertRegionBlock",
"title": "Z-Code Tools: 插入功能区块注释"
},
{
"command": "z-code-tools.openSettingsPanel",
"title": "Z-Code Tools: 打开设置页"
}
],
"configuration": {
"title": "Z-Code Tools",
"properties": {
"z-code-tools.enableDecorations": {
"type": "boolean",
"default": true,
"description": "是否启用区块装饰高亮。"
},
"z-code-tools.showRightBadge": {
"type": "boolean",
"default": true,
"description": "是否在注释右侧显示 S/E 区块标识块。"
},
"z-code-tools.autoRevealSettings": {
"type": "boolean",
"default": true,
"description": "扩展激活后是否自动在编辑器右侧打开设置页。"
}
}
}
},
"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": {
"@tailwindcss/postcss": "^4.2.2",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/vscode": "^1.116.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"autoprefixer": "^10.5.0",
"esbuild": "^0.27.3",
"eslint": "^9.39.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.10",
"tailwindcss": "^4.2.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1"
},
"dependencies": {
"@radix-ui/react-switch": "^1.2.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"tailwind-merge": "^3.5.0"
}
}