-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
143 lines (143 loc) · 3.59 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
135
136
137
138
139
140
141
142
143
{
"name": "devio-extension",
"displayName": "devio-extension",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/classmethod/devio-extension"
},
"version": "0.0.1",
"engines": {
"vscode": "^1.84.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "devio-extension.list-article",
"title": "DevIO: List Article"
},
{
"command": "devio-extension.new-article",
"title": "DevIO: Create New Article",
"icon": {
"light": "resources/plus.png",
"dark": "resources/plus.png"
}
},
{
"command": "devio-extension.pull-article",
"title": "DevIO: Get Article from Contentful"
},
{
"command": "devio-extension.open-browser",
"title": "DevIO: Open DevIO Contentful Home"
},
{
"command": "devio-extension.preview",
"title": "DevIO: Preview Active Editors Entry"
},
{
"command": "devio-extension.refresh-entry",
"title": "Refresh",
"icon": {
"light": "resources/refresh.png",
"dark": "resources/refresh.png"
}
}
],
"menus": {
"view/title": [
{
"command": "devio-extension.new-article",
"when": "view == devio-articles-treeview",
"group": "navigation"
},
{
"command": "devio-extension.refresh-entry",
"when": "view == devio-articles-treeview",
"group": "navigation"
}
],
"editor/context": [
{
"command": "devio-extension.preview",
"group": "navigation",
"when": "editorLangId == markdown"
}
]
},
"configuration": {
"type": "object",
"title": "Contentful Settings",
"properties": {
"contentful.general": {
"type": "object",
"default": {
"accessToken": "Access Token",
"spaceId": "Space ID"
},
"description": "Contentful Settings"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "devio-treeview",
"title": "DevIO View",
"icon": "$(book)"
}
]
},
"views": {
"devio-treeview": [
{
"id": "devio-articles-treeview",
"name": "Articles"
},
{
"type": "webview",
"id": "devio-webview",
"name": "Article Infomation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/diff-match-patch": "^1.0.36",
"@types/mocha": "^10.0.3",
"@types/node": "18.x",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/test-electron": "^2.3.6",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"contentful-management": "^11.4.0",
"diff-match-patch": "^1.0.5",
"yaml": "^2.3.3"
}
}