-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.4 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.4 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
{
"name": "qiniu-upload-plugin",
"displayName": "qiniu-upload-plugin",
"description": "使用七牛云图片上传图床",
"version": "0.0.1",
"publisher": "Luncode",
"icon": "icon/upload_icon.png",
"repository": {
"type": "git",
"url": "https://github.com/Luncode/qiniu-upload-plugin.git"
},
"license": "MIT",
"engines": {
"vscode": "^1.72.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:qiniu.commamdsUploadImage",
"onCommand:qiniu.uploadImage"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "qiniu.commamdsUploadImage",
"title": "选择图片上传七牛云"
},
{
"command": "qiniu.uploadImage",
"title": "选择图片上传七牛云"
}
],
"menus": {
"editor/title": [
{
"when": "editorFocus",
"command": "qiniu.uploadImage",
"group": "navigation"
}
]
},
"configuration": [
{
"title": "上传七牛插件配置项",
"properties": {
"qiniu_config.domain": {
"type": "string",
"default": "",
"description": "设置七牛云绑定域名"
},
"qiniu_config.accessKey": {
"type": "string",
"default": "",
"description": "设置七牛上传accessKey"
},
"qiniu_config.secretKey": {
"type": "string",
"default": "",
"description": "设置七牛上传secretKey"
},
"qiniu_config.bucket": {
"type": "string",
"default": "",
"description": "设置七牛上传上传空间"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.72.0",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"eslint": "^8.24.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"typescript": "^4.8.4",
"@vscode/test-electron": "^2.1.5"
},
"dependencies": {
"qiniu": "^7.7.0"
}
}