forked from mushanshitiancai/vscode-paste-image
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
134 lines (134 loc) · 4.17 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
{
"name": "vscode-paste-image-ftp",
"displayName": "Paste Image Ftp",
"description": "paste image from clipboard directly and upload ftp server",
"version": "0.1.0",
"publisher": "ziok2010",
"author": {
"name": "ziok2010",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/MOTK-FED/vscode-paste-image-ftp"
},
"homepage": "https://github.com/MOTK-FED/vscode-paste-image-ftp/blob/master/README.md",
"bugs": {
"url": "https://github.com/MOTK-FED/vscode-paste-image-ftp/issues"
},
"icon": "res/icon.png",
"galleryBanner": {
"color": "#252526",
"theme": "dark"
},
"keywords": [
"paste",
"image",
"markdown",
"paste image ftp",
"keybindings"
],
"engines": {
"vscode": "^1.0.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.pasteImageFtp"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Paste Image Ftp Configuration",
"properties": {
"pasteImageFtp.path": {
"type": "string",
"default": "${currentFileDir}",
"description": "The destination to save image file.You can use variable ${currentFileDir} and ${projectRoot}. ${currentFileDir} will be replace by the path of directory that contain current editing file. ${projectRoot} will be replace by path of the project opened in vscode."
},
"pasteImageFtp.basePath": {
"type": "string",
"default": "${currentFileDir}",
"description": "The base path of image url.You can use variable ${currentFileDir} and ${projectRoot}. ${currentFileDir} will be replace by the path of directory that contain current editing file. ${projectRoot} will be replace by path of the project opened in vscode. If you set basePath to empty String, it will insert absolute path to file."
},
"pasteImageFtp.forceUnixStyleSeparator": {
"type": "boolean",
"default": true,
"description": "Force set the file separator styel to unix style. If set false, separator styel will follow the system style."
},
"pasteImageFtp.prefix": {
"type": "string",
"default": "",
"description": "The string prepend to the resolved image path before paste."
},
"pasteImageFtp.suffix": {
"type": "string",
"default": "",
"description": "The string append to the resolved image path before paste."
},
"pasteImageFtp.ftpHost": {
"type": "string",
"default": "",
"description": "ftp server address"
},
"pasteImageFtp.ftpUserName": {
"type": "string",
"default": "",
"description": "ftp server username"
},
"pasteImageFtp.ftpUserPwd": {
"type": "string",
"default": "",
"description": "ftp server user password"
},
"pasteImageFtp.ftpPort": {
"type": "number",
"default": 21,
"description": "ftp server port"
},
"pasteImageFtp.ftpFolder": {
"type": "string",
"default": "",
"description": "ftp server file saved folder"
},
"pasteImageFtp.staticSitePort": {
"type": "number",
"default": 80,
"description": "static web server for images"
}
}
},
"commands": [
{
"command": "extension.pasteImageFtp",
"title": "Paste Image Ftp"
}
],
"keybindings": [
{
"command": "extension.pasteImageFtp",
"key": "ctrl+shift+v",
"mac": "cmd+shift+v",
"when": "editorTextFocus"
}
]
},
"scripts": {
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"dependencies": {
"copy-paste": "^1.2.0",
"easy-ftp": "^0.3.36",
"fs-extra": "^3.0.1",
"moment": "^2.14.1",
"upath": "^1.0.0"
},
"devDependencies": {
"typescript": "^1.8.5",
"vscode": "^0.11.0"
}
}