-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
146 lines (146 loc) · 4.24 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
{
"name": "markdown-image-paste",
"displayName": "markdown image paste",
"description": "update tiny the picture, upload to github, and feedback you a link when paste a picture to markdown file ",
"version": "1.4.0",
"publisher": "njLeonZhang",
"repository": {
"type": "git",
"url": "https://github.com/njleonzhang/vscode-extension-mardown-image-paste"
},
"engines": {
"vscode": "^1.25.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.markdownPasteImage"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "markdown paste image configuration",
"properties": {
"markdownPasteImage.tinyPngKey": {
"type": "string",
"default": "",
"description": "the tiny png developer key"
},
"markdownPasteImage.qiniuBucket": {
"type": "string",
"default": "",
"description": "the qiniu bucket name"
},
"markdownPasteImage.qiniuAK": {
"type": "string",
"default": "",
"description": "the qiniu AK"
},
"markdownPasteImage.qiniuSK": {
"type": "string",
"default": "",
"description": "the qiniu SK"
},
"markdownPasteImage.qiniuPreUrl": {
"type": "string",
"default": "",
"description": "the qiniu prrUrl"
},
"markdownPasteImage.githubAccessToken": {
"type": "string",
"default": "",
"description": "the github access token"
},
"markdownPasteImage.githubRepo": {
"type": "string",
"default": "",
"description": "your github repository as image bed"
},
"markdownPasteImage.githubAssetFolder": {
"type": "string",
"default": "",
"description": "asset folder of your image bed github repository"
},
"markdownPasteImage.proxy": {
"type": "string",
"default": "",
"description": "proxy for github api, for exmaple: http://127.0.0.1:8087"
},
"markdownPasteImage.githubTimeOut": {
"type": "number",
"default": 10000,
"description": "github api is slow in china, set timeout as 10s"
},
"markdownPasteImage.cloudinaryName": {
"type": "string",
"default": "",
"description": "cloud name of cloudinary"
},
"markdownPasteImage.cloudinaryApiKey": {
"type": "string",
"default": "",
"description": "api key of cloudinary"
},
"markdownPasteImage.cloudinarySecret": {
"type": "string",
"default": "",
"description": "api secret of cloudinary"
},
"markdownPasteImage.cloudinaryFolder": {
"type": "string",
"default": "",
"description": "folder of cloudinary you want to put your image in"
},
"markdownPasteImage.cdnType": {
"type": "string",
"default": "qiniu",
"description": "the cdn type"
}
}
},
"commands": [
{
"command": "extension.markdownPasteImage",
"title": "Paste Image"
},
{
"command": "extension.markdownPasteImage.reInit",
"title": "Paste Image: Reinit"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"package": "vsce package --yarn",
"publish": "vsce publish --yarn"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"tslint": "^5.8.0",
"typescript": "^2.6.1",
"vscode": "^1.1.18"
},
"dependencies": {
"aws-sdk": "^2.596.0",
"axios": "^0.18.0",
"child_process": "^1.0.2",
"cloudinary": "^1.11.0",
"file-type": "^12.4.2",
"form-data": "^2.3.2",
"fs": "^0.0.1-security",
"http-proxy-agent": "^2.1.0",
"node-ipc": "^9.1.1",
"path": "^0.12.7",
"qiniu": "^7.2.1",
"sha1": "^1.1.1",
"tinify": "^1.6.0-beta.2",
"tunnel": "^0.0.5"
}
}