@duoyun/md-img-pull 1.1.0 → 1.2.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 +51 -20
- package/dist/main.cjs +805 -751
- package/package.json +53 -51
package/package.json
CHANGED
|
@@ -1,51 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@duoyun/md-img-pull",
|
|
3
|
-
"version": "1.
|
|
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
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
"@types/
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@duoyun/md-img-pull",
|
|
3
|
+
"version": "1.2.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
|
+
"start": "tsx main.ts",
|
|
24
|
+
"build": "esbuild main.ts --bundle --platform=node --format=cjs --outfile=dist/main.cjs --external:sharp --banner:js=\"#!/usr/bin/env node\"",
|
|
25
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [],
|
|
28
|
+
"author": "",
|
|
29
|
+
"license": "ISC",
|
|
30
|
+
"packageManager": "pnpm@10.28.0",
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/fs-extra": "^11.0.4",
|
|
33
|
+
"@types/node": "^25.2.1",
|
|
34
|
+
"esbuild": "^0.27.3",
|
|
35
|
+
"ts-node": "^10.9.2",
|
|
36
|
+
"tsx": "^4.21.0",
|
|
37
|
+
"typescript": "^5.9.3"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@types/mdast": "^4.0.4",
|
|
41
|
+
"axios": "^1.13.4",
|
|
42
|
+
"chalk": "^5.6.2",
|
|
43
|
+
"crypto": "^1.0.1",
|
|
44
|
+
"fs-extra": "^11.3.3",
|
|
45
|
+
"ora": "^9.3.0",
|
|
46
|
+
"p-limit": "^7.3.0",
|
|
47
|
+
"remark-parse": "^11.0.0",
|
|
48
|
+
"remark-stringify": "^11.0.0",
|
|
49
|
+
"sharp": "^0.34.5",
|
|
50
|
+
"unified": "^11.0.5",
|
|
51
|
+
"unist-util-visit": "^5.1.0"
|
|
52
|
+
}
|
|
53
|
+
}
|