@aiello/wechat-to-markdown 1.2.5 → 1.2.6
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/package.json +65 -64
package/package.json
CHANGED
|
@@ -1,66 +1,67 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
],
|
|
16
|
-
"type": "module",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@ryan-liu/eslint-config-jsx-config": "^1.0.2",
|
|
20
|
-
"@types/fs-extra": "^9.0.13",
|
|
21
|
-
"@types/turndown": "^5.0.1",
|
|
22
|
-
"cross-spawn": "^7.0.3",
|
|
23
|
-
"eslint": "^7.32.0",
|
|
24
|
-
"husky": "^7.0.2",
|
|
25
|
-
"inquirer": "^8.2.0",
|
|
26
|
-
"lint-staged": "^11.1.2",
|
|
27
|
-
"prettier": "^2.4.1",
|
|
28
|
-
"tsup": "^5.4.0",
|
|
29
|
-
"typescript": "^4.4.3",
|
|
30
|
-
"vitest": "^1.3.1"
|
|
31
|
-
},
|
|
32
|
-
"scripts": {
|
|
33
|
-
"dev": "yarn build --watch",
|
|
34
|
-
"build": "tsup src/index.ts --dts --format cjs,esm",
|
|
35
|
-
"lint": "lint-staged",
|
|
36
|
-
"pub": "node tools/publish.js",
|
|
37
|
-
"test": "vitest"
|
|
38
|
-
},
|
|
39
|
-
"husky": {
|
|
40
|
-
"hooks": {
|
|
41
|
-
"pre-commit": "lint-staged"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"lint-staged": {
|
|
45
|
-
"*.{ts,js}": [
|
|
46
|
-
"eslint --fix --quiet"
|
|
2
|
+
"name": "@aiello/wechat-to-markdown",
|
|
3
|
+
"version": "1.2.6",
|
|
4
|
+
"description": "解析微信文章 URL 为 markdown",
|
|
5
|
+
"author": "Aiello Chan<aiello.chan@gmail.com>",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"wechat to markdown",
|
|
8
|
+
"markdown"
|
|
9
|
+
],
|
|
10
|
+
"main": "dist/index.cjs",
|
|
11
|
+
"module": "dist/index.js",
|
|
12
|
+
"types": "dist/index.d.ts",
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
47
15
|
],
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
16
|
+
"type": "module",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@ryan-liu/eslint-config-jsx-config": "^1.0.2",
|
|
20
|
+
"@types/fs-extra": "^9.0.13",
|
|
21
|
+
"@types/turndown": "^5.0.1",
|
|
22
|
+
"cross-spawn": "^7.0.3",
|
|
23
|
+
"eslint": "^7.32.0",
|
|
24
|
+
"husky": "^7.0.2",
|
|
25
|
+
"inquirer": "^8.2.0",
|
|
26
|
+
"lint-staged": "^11.1.2",
|
|
27
|
+
"prettier": "^2.4.1",
|
|
28
|
+
"tsup": "^5.4.0",
|
|
29
|
+
"typescript": "^4.4.3",
|
|
30
|
+
"vitest": "^1.3.1"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"dev": "yarn build --watch",
|
|
34
|
+
"build": "tsup src/index.ts --dts --format cjs,esm",
|
|
35
|
+
"lint": "lint-staged",
|
|
36
|
+
"pub": "node tools/publish.js",
|
|
37
|
+
"test": "vitest"
|
|
38
|
+
},
|
|
39
|
+
"husky": {
|
|
40
|
+
"hooks": {
|
|
41
|
+
"pre-commit": "lint-staged"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"lint-staged": {
|
|
45
|
+
"*.{ts,js}": [
|
|
46
|
+
"eslint --fix --quiet"
|
|
47
|
+
],
|
|
48
|
+
"*.json": [
|
|
49
|
+
"prettier --write"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"tsup": {
|
|
53
|
+
"splitting": false,
|
|
54
|
+
"sourcemap": true,
|
|
55
|
+
"clean": true,
|
|
56
|
+
"external": [
|
|
57
|
+
"html2markdown"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@guyplusplus/turndown-plugin-gfm": "^1.0.7",
|
|
62
|
+
"axios": "^0.22.0",
|
|
63
|
+
"cheerio": "^1.0.0-rc.10",
|
|
64
|
+
"turndown": "^7.1.1",
|
|
65
|
+
"turndown-plugin-gfm": "1.0.2"
|
|
66
|
+
}
|
|
67
|
+
}
|