-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
133 lines (133 loc) · 3.06 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
{
"name": "mediawiki-editor",
"displayName": "MediaWiki Editor",
"description": "An extension that makes editing wiki articles easier.",
"version": "0.0.1",
"engines": {
"vscode": "^1.45.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:mediawiki-editor.helloWorld",
"onLanguage:mediawiki",
"onCommand:mediawiki-editor.findArticle"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "revision-container",
"title": "Revision Explorer",
"icon": "media/icon_dark.svg"
}
]
},
"menus": {
"view/title": [
{
"command": "mediawiki-editor.refreshEntry",
"when": "view == revisionExplorer",
"group": "navigation"
}
]
},
"views": {
"revision-container": [
{
"id": "revisionExplorer",
"name": "Revision Explorer"
}
]
},
"commands": [
{
"command": "mediawiki-editor.refreshEntry",
"title": "Refresh",
"icon": {
"light": "media/refresh_light.svg",
"dark": "media/refresh_dark.svg"
}
},
{
"command": "mediawiki-editor.login",
"title": "Login to Wiki"
},
{
"command": "mediawiki-editor.findArticle",
"title": "Search for a Wiki Article"
},
{
"command": "mediawiki-editor.commitEdits",
"title": "Commit Edits to Wiki"
},
{
"command": "mediawiki-editor.commitEditsMinor",
"title" : "Commit Edits to Wiki (minor)"
},
{
"command" : "mediawiki-editor.uploadFileCommand",
"title": "Open File Upload Dialog"
}
],
"configuration": {
"title": "MediaWiki Editor",
"properties": {
"mediawiki-editor.wikiUrl": {
"type": "string",
"default": "",
"markdownDescription": "The URL of the wiki's article path, e.g. `https://wikipedia.org/w`."
},
"mediawiki-editor.enums": {
"type": "boolean",
"default": true
},
"mediawiki-editor.number": {
"type": "number",
"default": 1,
"minimum": 1,
"maximum": 20
},
"mediawiki-editor.asBot": {
"type": "boolean",
"default": true,
"markdownDescription": "Mark edits as having been done by a bot."
},
"mediawiki-editor.overrideEditPref" : {
"type" : "boolean",
"default" : false,
"markdownDescription": "If active, overrides `Mark all edits minor by default` preference on user's account."
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/vscode": "^1.45.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"@types/node-fetch": "^2.5.7",
"fetch-cookie": "^0.9.1",
"form-data": "^3.0.0",
"node-fetch": "^2.6.0"
}
}