-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
111 lines (111 loc) · 3.07 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
{
"name": "clipboard-to-imgur",
"displayName": "clipboard to imgur",
"description": "",
"version": "0.0.6",
"publisher": "miyaoka",
"preview": true,
"icon": "res/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/miyaoka/vsc-clipboard-to-imgur"
},
"bugs": {
"url": "https://github.com/miyaoka/vsc-clipboard-to-imgur/issues"
},
"license": "MIT",
"engines": {
"vscode": "^1.52.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:clipboard-to-imgur.pasteUpload"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "clipboard-to-imgur.pasteUpload",
"title": "Upload clipboard image"
}
],
"keybindings": [
{
"command": "clipboard-to-imgur.pasteUpload",
"key": "ctrl+alt+v",
"mac": "cmd+alt+v",
"when": "editorTextFocus"
}
],
"configuration": {
"type": "object",
"title": "clipboard-to-imgur configuration",
"properties": {
"clipboard-to-imgur.isAnonymous": {
"type": "boolean",
"default": false,
"description": "Use anonymous upload."
},
"clipboard-to-imgur.client_id": {
"type": "string",
"default": "",
"description": "Imgur client_id (required)"
},
"clipboard-to-imgur.client_secret": {
"type": "string",
"default": "",
"description": "Imgur client_secret (required if not anonymous)"
},
"clipboard-to-imgur.album_id": {
"type": "string",
"default": "",
"description": "Album id to upload images to"
},
"clipboard-to-imgur.saveDocument": {
"type": "boolean",
"default": true,
"description": "Save document after upload is completed."
},
"clipboard-to-imgur.placeholderText": {
"type": "string",
"default": "![uploading...](https://i.imgur.com/LEOtF90.gif)",
"description": "Placeholder text durling upload image."
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint:eslint": "eslint ./src --ext .ts,.tsx",
"lint:prettier": "prettier ./src --check",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write",
"fix": "run-s fix:eslint fix:prettier",
"test": "node ./out/test/runTest.js"
},
"dependencies": {
"@maxfield/imgur": "^0.4.1",
"imgur": "^0.3.1"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.52.0",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.9.0",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1"
}
}