-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.43 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 3.43 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
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
{
"name": "imperial",
"displayName": "imperial",
"description": "Share code with anyone in a matter of seconds.",
"publisher": "Looskie",
"icon": "assets/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/imperialbin/imperial-vsc.git"
},
"version": "10.0.7",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"license": "MPL-2.0",
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "imperial.uploadDocument",
"title": "Upload Document",
"icon": "$(save)"
}
],
"keybindings": [
{
"when": "editorHasSelection",
"command": "imperial.uploadDocument",
"key": "ctrl+shift+s",
"mac": "shift+cmd+s"
}
],
"configuration": {
"title": "imperial",
"properties": {
"imperial.apiToken": {
"type": "string",
"default": "",
"description": "API key (You need an API key for the below features and better API limit! Visit https://imperialb.in/ to get yours!)"
},
"imperial.longURLs": {
"type": "boolean",
"default": false,
"description": "32 character long URLs"
},
"imperial.shortURLs": {
"type": "boolean",
"default": false,
"description": "4 character long URLs"
},
"imperial.gists": {
"type": "boolean",
"default": false,
"description": "Uploads the document as a GitHub Gist"
},
"imperial.instantDelete": {
"type": "boolean",
"default": false,
"description": "Instantly deletes the document after being viewed"
},
"imperial.imageEmbed": {
"type": "boolean",
"default": false,
"description": "Takes a snapshot of the document and embeds with OG tags"
},
"imperial.expiration": {
"type": [
"number",
"null"
],
"default": null,
"description": "When the document expires, by default it will last forever. (in days)"
},
"imperial.encrypted": {
"type": "boolean",
"default": false,
"description": "Encrypts the document with AES256 with a password of your choice when provided, otherwise it will be encrypted with a cryptographically secure random password."
}
}
},
"menus": {
"editor/context": [
{
"when": "editorHasSelection",
"command": "imperial.uploadDocument",
"group": "9_cutcopypaste"
}
],
"editor/title": [
{
"when": "editorHasSelection",
"command": "imperial.uploadDocument",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.2.0",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"ts-loader": "^9.4.1",
"typescript": "^4.9.3"
},
"dependencies": {
"axios": "^1.4.0"
}
}