-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 4.12 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 4.12 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
{
"name": "vscode-pastemyst",
"displayName": "vscode-pastemyst",
"description": "PasteMyst as a Visual Studio Code Extension",
"icon": "resources/pastemyst.png",
"publisher": "mellobacon",
"version": "1.1.2",
"engines": {
"vscode": "^1.64.2"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:pastemyst.viewer",
"onCommand:pastemyst.commands.view",
"onCommand:pastemyst.commands.create",
"onCommand:pastemyst.commands.createBySelection",
"onCommand:pastemyst.commands.getAuthToken",
"onCommand:pastemyst.commands.viewAll"
],
"main": "./dist/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/mellobacon/vscode-pastemyst"
},
"contributes": {
"views": {
"pastemyst": [
{
"id": "pastemyst.viewer",
"name": "Paste Viewer"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "pastemyst",
"icon": "./resources/pastemyst.svg",
"title": "PasteMyst"
}
]
},
"viewsWelcome": [
{
"view": "pastemyst.viewer",
"contents": "No pastes retrieved yet.\n(Valid ID: paste.myst.rs/theid)\n[Get New Paste](command:pastemyst.commands.view)\n[Get Pastes From Account](command:pastemyst.commands.viewAll)\nSend a paste to PasteMyst\n[Create New Paste](command:pastemyst.commands.create)\n[Create New Paste by Selection](command:pastemyst.commands.createBySelection)\n*Optional: Provide your authotization token. This will enable private paste creation and retrieval. (This is found under profile > settings > api on the website)*\n[Register Auth Token](command:pastemyst.commands.getAuthToken)"
}
],
"commands": [
{
"command": "pastemyst.commands.view",
"title": "PasteMyst: View Paste"
},
{
"command": "pastemyst.commands.viewAll",
"title": "PasteMyst: View All Pastes"
},
{
"command": "pastemyst.commands.create",
"title": "PasteMyst: Create Paste"
},
{
"command": "pastemyst.commands.createBySelection",
"title": "PasteMyst: Create Paste By Selection"
},
{
"command": "pastemyst.commands.getAuthToken",
"title": "PasteMyst: Token"
},
{
"command": "pastemyst.commands.viewer.unload",
"title": "Unload",
"enablement": "view == pastemyst.viewer",
"icon": "$(diff-review-close)"
}
],
"menus": {
"view/item/context": [
{
"command": "pastemyst.commands.viewer.unload",
"when": "view == pastemyst.viewer && viewItem == paste",
"group": "inline"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/node": "^12.11.7",
"@types/vscode": "^1.55.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0"
},
"dependencies": {
"copy-to-clipboard": "^3.3.1",
"open": "^8.0.8",
"pastemyst-ts": "^1.1.0"
}
}