-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
161 lines (161 loc) · 4.69 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "quick-reference",
"publisher": "jackiotyu",
"displayName": "备忘清单-开发者快速参考 (Reference)",
"description": "Reference 是一组由开源社区贡献的备忘单集合,为开发者提供了精美的布局和快速参考信息",
"version": "1.0.0",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"keywords": [
"Quick Reference",
"备忘清单",
"开发知识速查表",
"开发者参考",
"技术参考",
"开发者快速参考"
],
"repository": {
"type": "git",
"url": "https://github.com/jackiotyu/vscode-quick-reference.git"
},
"bugs": {
"url": "https://github.com/jackiotyu/vscode-quick-reference/issues"
},
"icon": "images/icon.png",
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "QuickReference.openSettings",
"title": "打开设置",
"icon": "$(settings-gear)"
},
{
"command": "QuickReference.open",
"title": "打开备忘清单(Open Reference)📚",
"icon": "$(open-preview)"
},
{
"command": "QuickReference.search",
"title": "搜索备忘清单(Search in Reference)🔍",
"icon": "$(search)"
},
{
"command": "QuickReference.openTreeItem",
"title": "打开备忘清单",
"icon": "$(open-preview)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "QuickReference",
"icon": "images/icon-tree.svg",
"title": "备忘清单(Reference)"
}
]
},
"views": {
"QuickReference": [
{
"id": "QuickReference.list",
"name": "备忘清单",
"visibility": "visible"
}
]
},
"menus": {
"commandPalette": [
{
"command": "QuickReference.search",
"group": "QuickReference"
},
{
"command": "QuickReference.open",
"group": "QuickReference"
},
{
"command": "QuickReference.openTreeItem",
"when": "false"
}
],
"view/title": [
{
"command": "QuickReference.openSettings",
"group": "navigation@8",
"when": "view === QuickReference.list"
},
{
"command": "QuickReference.open",
"group": "navigation@9",
"when": "view === QuickReference.list"
},
{
"command": "QuickReference.search",
"group": "navigation@10",
"when": "view === QuickReference.list"
}
],
"view/item/context": [
{
"command": "QuickReference.openTreeItem",
"when": "view === QuickReference.list && viewItem == QuickReference.treeItem.ref",
"group": "inline@10"
}
]
},
"configuration": [
{
"title": "备忘清单(Reference)",
"properties": {
"QuickReference.list.defaultOpenSections": {
"type": "boolean",
"default": false,
"markdownDescription": "搜索备忘清单时是否默认展示章节搜索"
},
"QuickReference.webview.keepOne": {
"type": "boolean",
"default": true,
"markdownDescription": "只保留一个备忘清单视图"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"vsce:pack": "vsce package --no-dependencies",
"compile": "webpack",
"watch": "webpack --watch",
"build:main": "webpack --mode production --devtool hidden-source-map",
"build:ref": "pnpm -C ./packages/reference/ build -o ../../dist/reference",
"build:extractData": "node ./build/extractData",
"package": "concurrently \"pnpm:build:main\" \"pnpm:build:ref\" \"pnpm:build:extractData\"",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vscode/test-cli": "^0.0.6",
"@vscode/test-electron": "^2.3.9",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^12.0.2",
"eslint": "^8.56.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
}
}