@duoyun/md-img-pull 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +85 -0
- package/dist/main.cjs +31309 -0
- package/package.json +51 -0
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@duoyun/md-img-pull",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Markdown 媒体资源本地化与压缩工具",
|
|
5
|
+
"main": "./dist/main.cjs",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/518luck/md-img-pull.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/518luck/md-img-pull#readme",
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public",
|
|
13
|
+
"registry": "https://registry.npmjs.org/"
|
|
14
|
+
},
|
|
15
|
+
"bin": {
|
|
16
|
+
"md-img-p": "dist/main.cjs"
|
|
17
|
+
},
|
|
18
|
+
"type": "module",
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "esbuild main.ts --bundle --platform=node --format=cjs --outfile=dist/main.cjs --external:sharp --banner:js=\"#!/usr/bin/env node\"",
|
|
24
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [],
|
|
27
|
+
"author": "",
|
|
28
|
+
"license": "ISC",
|
|
29
|
+
"packageManager": "pnpm@10.28.0",
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/fs-extra": "^11.0.4",
|
|
32
|
+
"@types/node": "^25.2.1",
|
|
33
|
+
"esbuild": "^0.27.3",
|
|
34
|
+
"ts-node": "^10.9.2",
|
|
35
|
+
"typescript": "^5.9.3"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@types/mdast": "^4.0.4",
|
|
39
|
+
"axios": "^1.13.4",
|
|
40
|
+
"chalk": "^5.6.2",
|
|
41
|
+
"crypto": "^1.0.1",
|
|
42
|
+
"fs-extra": "^11.3.3",
|
|
43
|
+
"ora": "^9.3.0",
|
|
44
|
+
"p-limit": "^7.3.0",
|
|
45
|
+
"remark-parse": "^11.0.0",
|
|
46
|
+
"remark-stringify": "^11.0.0",
|
|
47
|
+
"sharp": "^0.34.5",
|
|
48
|
+
"unified": "^11.0.5",
|
|
49
|
+
"unist-util-visit": "^5.1.0"
|
|
50
|
+
}
|
|
51
|
+
}
|