-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
155 lines (155 loc) · 4.73 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
{
"name": "element-plus-doc",
"displayName": "element-plus-doc",
"description": "element-plus 的一个工具插件,用于智能提示,悬停显示文档等",
"publisher": "mxp131011",
"license": "SEE LICENSE IN LICENSE",
"version": "2.0.5",
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Other",
"Snippets"
],
"keywords": [
"Snippets",
"intellisense",
"element",
"element-plus",
"elementPlus",
"Documents",
"Doc"
],
"activationEvents": [
"onLanguage:vue",
"onLanguage:vue-html",
"onLanguage:html",
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:javascript",
"onLanguage:javascriptreact"
],
"icon": "public/images/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/mxp131011/element-plus-doc"
},
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "element-plus-doc",
"properties": {
"element-plus-doc.custom.language": {
"type": "string",
"enum": [
"auto",
"zh-CN",
"en-US"
],
"markdownEnumDescriptions": [
"%contributes.properties.custom.language.auto%",
"%contributes.properties.custom.language.zh-CN%",
"%contributes.properties.custom.language.en-US%"
],
"default": "auto",
"markdownDescription": "%contributes.properties.custom.language.description%"
},
"element-plus-doc.custom.prefix": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[a-zA-Z]{1,10}$"
},
"maxItems": 3,
"default": [],
"markdownDescription": "%contributes.properties.custom.prefix.description%"
},
"element-plus-doc.custom.mapping": {
"type": "object",
"additionalProperties": {
"type": "string",
"pattern": "^(el[A-Z])[a-zA-Z]*$"
},
"default": {},
"markdownDescription": "%contributes.properties.custom.mapping.description%"
},
"element-plus-doc.website.chinese": {
"format": "URI",
"type": "string",
"pattern": "^https?://([\\w-]+\\.)+[\\w-]+(/[\\w-./]*)?/$",
"default": "https://element-plus.org/zh-CN/",
"markdownDescription": "%contributes.properties.website.chinese.description%"
},
"element-plus-doc.website.english": {
"type": "string",
"format": "URI",
"pattern": "^https?://([\\w-]+\\.)+[\\w-]+(/[\\w-./]*)?/$",
"default": "https://element-plus.org/en-US/",
"markdownDescription": "%contributes.properties.website.english.description%"
}
}
},
"snippets": [
{
"language": "html",
"path": "./public/snippets/html.json"
},
{
"language": "vue",
"path": "./public/snippets/vue.json"
},
{
"language": "javascript",
"path": "./public/snippets/javascript.json"
},
{
"language": "typescript",
"path": "./public/snippets/typescript.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "rimraf README && webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"发布": "ts-node ./md/index.ts && vsce package",
"生成MD": " ts-node ./md/index.ts",
"更新依赖": "ncu -u && ncu -g",
"更新依赖[含测试版]": "ncu --target newest",
"安装": "npm install",
"删除": "rimraf node_modules && rimraf pnpm-lock.yaml && rimraf package-lock.json",
"tsc": "tsc --noEmit --skipLibCheck",
"prettier": "prettier --write ./**/*.{js,json,vue,ts,jsx,cjs,mjs,tsx,cts,mts,wxss,wxml,wxs}",
"eslint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "~18.15.3",
"@types/vscode": "^1.76.0",
"@types/webpack-env": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"@vscode/test-electron": "^2.3.0",
"copy-webpack-plugin": "^11.0.0",
"eslint": "^8.36.0",
"eslint-plugin-jsdoc": "^40.1.0",
"glob": "^9.3.0",
"mocha": "^10.2.0",
"prettier": "^2.8.5",
"ts-loader": "^9.4.2",
"typescript": "^5.0.2",
"webpack": "^5.76.2",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@vscode/vsce": "^2.18.0",
"fs": "^0.0.1-security",
"ts-node": "^10.9.1",
"vscode-html-languageservice": "^5.0.4",
"vscode-json-languageservice": "^5.3.2"
}
}