md2wexin 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.
Files changed (3) hide show
  1. package/README.md +203 -0
  2. package/dist/index.js +386 -0
  3. package/package.json +43 -0
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "md2wexin",
3
+ "version": "1.0.0",
4
+ "description": "Markdown 转微信公众号文章 CLI:主题化内联样式 HTML,支持深浅配色、KaTeX 公式、本地图片内嵌、剪贴板复制与目录批量转换",
5
+ "type": "module",
6
+ "bin": {
7
+ "md2weixin": "./dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "keywords": [
13
+ "markdown",
14
+ "wechat",
15
+ "weixin",
16
+ "公众号",
17
+ "gongzhonghao",
18
+ "html"
19
+ ],
20
+ "license": "MIT",
21
+ "engines": {
22
+ "node": ">=18"
23
+ },
24
+ "scripts": {
25
+ "convert": "bun index.ts",
26
+ "build:cli": "bun ./scripts/build.ts",
27
+ "prepublishOnly": "node ./scripts/check-dist.mjs",
28
+ "dev": "bun --hot ./web/dev.ts",
29
+ "build": "rm -rf ./output && bun build ./web/index.html --outdir ./output --minify && bun ./web/copy-assets.ts",
30
+ "typecheck": "bunx tsc --noEmit"
31
+ },
32
+ "devDependencies": {
33
+ "@types/bun": "latest",
34
+ "@types/node": "latest"
35
+ },
36
+ "dependencies": {
37
+ "katex": "^0.18.5",
38
+ "marked": "^18.0.11"
39
+ },
40
+ "peerDependencies": {
41
+ "typescript": "^5"
42
+ }
43
+ }