-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.46 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.46 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
{
"name": "markdump",
"displayName": "MarkDump",
"description": "This plugin will detect the markdown document image link, and automatically download to the file directory under the img directory. Then replace the image link in the document with the local image.",
"version": "0.0.4",
"icon": "images/icon.png",
"author": "wjc133",
"publisher": "TinyFunction",
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "markdump.downloadImages",
"title": "Download Images and Update Links",
"category": "MarkDump"
}
],
"menus": {
"commandPalette": [
{
"command": "markdump.downloadImages",
"when": "editorLangId == markdown"
}
]
},
"configuration": {
"type": "object",
"title": "MarkDump",
"properties": {
"markdump.download.defaultDir": {
"type": "string",
"default": "img",
"description": "The default directory name to store downloaded images"
},
"markdump.download.silent": {
"type": "boolean",
"default": false,
"description": "don't prompt me to specify a custom path for each download."
},
"markdump.image.rename": {
"type": "string",
"default": "sequence",
"description": "Specifies a renaming rule",
"enum": [
"sequence",
"hash"
]
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"package": "npm vsce package",
"publish": "npm vsce publish"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.9",
"@types/node": "20.x",
"@types/vscode": "^1.95.0",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.7.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.13.0",
"typescript": "^5.6.3"
},
"dependencies": {
"axios": "^1.7.8",
"fs-extra": "^11.2.0",
"path": "^0.12.7"
},
"repository": {
"type": "git",
"url": "https://github.com/TinyFunction/MarkDump.git"
}
}