-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
140 lines (140 loc) · 3.82 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
{
"name": "docsify-preview",
"displayName": "docsify-Preview",
"description": "write docs easily with docsify",
"version": "1.7.0",
"engines": {
"vscode": "^1.71.0"
},
"publisher": "dzylikecode",
"author": {
"name": "Dz",
"email": "mathBeWithCode@gmail.com"
},
"license": "MIT",
"icon": "assets/favicon.ico",
"repository": {
"type": "git",
"url": "https://github.com/dzylikecode/VSCodeExt-docsify-Preview"
},
"homepage": "https://github.com/dzylikecode/VSCodeExt-docsify-Preview/blob/master/README.md",
"bugs": {
"url": "https://github.com/dzylikecode/VSCodeExt-docsify-Preview/issues"
},
"keywords": [
"markdown",
"preview",
"docsify",
"WYSIWYG",
"server"
],
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:markdown"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "docsify Preview",
"type": "object",
"properties": {
"docsifyPreview.port": {
"type": "number",
"default": 10812,
"minimum": 0,
"maximum": 65535,
"description": "Set Custom Port Number of docsify Preview"
},
"docsifyPreview.indexFile": {
"type": "string",
"default": "/docs/index.html",
"pattern": "/|/[^\\/]",
"description": "Set Custom index file of Live Server. \nTo change index file, use '/' and relative path from workspace. \nExample: /index.html"
},
"docsifyPreview.followLinkWithCtrl": {
"type": "boolean",
"default": false,
"description": "follow link(Ctrl + Click) without annoying pop window if enabled"
}
}
},
"commands": [
{
"command": "docsify-preview.sidePreview",
"title": "docsify: Open/Close the side Preview",
"category": "menubar",
"icon": {
"light": "./assets/Preview.svg",
"dark": "./assets/Preview_inverse.svg"
}
},
{
"command": "docsify-preview.fullPreview",
"title": "docsify: Open the full Preview"
}
],
"menus": {
"editor/title": [
{
"command": "docsify-preview.sidePreview",
"when": "editorLangId == markdown",
"group": "navigation"
}
],
"editor/context": [
{
"command": "docsify-preview.sidePreview",
"when": "editorLangId == markdown",
"group": "docsify-preview"
},
{
"command": "docsify-preview.fullPreview",
"when": "editorLangId == markdown",
"group": "docsify-preview"
}
]
},
"keybindings": [
{
"command": "docsify-preview.sidePreview",
"key": "ctrl+shift+a",
"mac": "cmd+shift+a",
"when": "editorLangId == markdown"
},
{
"command": "docsify-preview.fullPreview",
"key": "ctrl+shift+v",
"mac": "cmd+shift+v",
"when": "editorLangId == markdown"
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.js --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/vscode": "^1.71.0",
"@vscode/test-electron": "^2.1.3",
"esbuild": "^0.15.10",
"eslint": "^8.11.0",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"typescript": "^4.5.5"
},
"dependencies": {
"express": "^4.18.1",
"ws": "^8.9.0"
}
}