-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
102 lines (102 loc) · 2.62 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
{
"publisher": "uni-helper",
"name": "uni-highlight-vscode",
"displayName": "uni-highlight",
"version": "0.3.11",
"private": true,
"packageManager": "[email protected]",
"description": "在 Vscode中对条件编译的代码注释部分提供了语法高亮",
"author": "FliPPeDround https://github.com/FliPPeDround",
"license": "MIT",
"funding": "https://afdian.com/a/flippedround",
"homepage": "https://github.com/uni-helper/uni-highlight-vscode#readme",
"repository": {
"type": "git",
"url": "https://github.com/uni-helper/uni-highlight-vscode"
},
"bugs": {
"url": "https://github.com/uni-helper/uni-highlight-vscode/issues"
},
"keywords": [
"uniapp",
"uni-app",
"highlight"
],
"categories": [
"Other"
],
"main": "./dist/index.js",
"icon": "icon.png",
"files": [
"dist"
],
"engines": {
"vscode": "^1.47.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "uni.comment.reload",
"title": "Uni Helper: 重新加载条件编译高亮"
},
{
"command": "uni.comment.fold-other-platform",
"title": "Uni Helper: 选择平台并折叠其他平台注释",
"icon": "$(list-tree)"
}
],
"configuration": {
"title": "uni-highlight",
"properties": {
"uni-highlight.platform": {
"type": "object",
"default": {},
"description": "自定义平台高亮"
}
}
},
"menus": {
"editor/title": [
{
"command": "uni.comment.fold-other-platform",
"group": "navigation@0",
"when": "uni.hasComment"
}
]
}
},
"scripts": {
"build": "tsup src/index.ts --external vscode",
"dev": "nr build --watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"vscode:prepublish": "nr build",
"publish": "concurrently \"pnpm:publish:vscode\" \"pnpm:publish:openvsx\"",
"publish:vscode": "vsce package --no-dependencies && vsce publish --no-dependencies",
"publish:openvsx": "ovsx publish",
"test": "vitest",
"typecheck": "tsc --noEmit",
"release": "bumpp"
},
"devDependencies": {
"@antfu/eslint-config": "^2.1.2",
"@antfu/ni": "^0.21.2",
"@antfu/utils": "^0.7.6",
"@types/node": "^18.15.11",
"@types/vscode": "1.47.0",
"@vscode/vsce": "^2.19.0",
"bumpp": "^9.1.0",
"concurrently": "^8.0.1",
"eslint": "^8.54.0",
"fastest-levenshtein": "^1.0.16",
"ovsx": "^0.8.0",
"pnpm": "^8.1.1",
"tsup": "^6.7.0",
"typescript": "^5.0.3",
"vite": "^4.2.1",
"vitest": "^0.29.8"
}
}