-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.01 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 2.01 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
{
"name": "@wenyan-md/cli",
"version": "2.0.1",
"description": "A CLI tool for Wenyan markdown rendering & publishing",
"author": "Lei <caol64@gmail.com> (https://github.com/caol64)",
"license": "Apache-2.0",
"keywords": [
"公众号",
"markdown",
"文颜",
"wenyan",
"wechat",
"publishing",
"renderer"
],
"type": "module",
"bin": {
"wenyan": "./dist/cli.js"
},
"main": "./dist/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
],
"homepage": "https://github.com/caol64/wenyan-cli#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/caol64/wenyan-cli.git"
},
"bugs": {
"url": "https://github.com/caol64/wenyan-cli/issues"
},
"scripts": {
"build": "tsc",
"upgrade:core": "pnpm update @wenyan-md/core",
"prepublishOnly": "pnpm upgrade:core && pnpm build",
"server": "pnpm build && pnpm dotenv -e .env.test -- node ./dist/cli.js serve",
"test:bin": "pnpm build && node ./dist/cli.js render -f tests/publish.md -c tests/manhua.css --no-mac-style",
"test:cli": "vitest run tests/cli.test.ts",
"test:render": "vitest run tests/render.test.ts",
"test:publish": "vitest run tests/publish.test.ts",
"test:realPublish": "pnpm build && pnpm dotenv -e .env.test -- node ./dist/cli.js publish -f tests/publish.md -c tests/manhua.css --no-mac-style",
"test:serverPublish": "pnpm build && node ./dist/cli.js publish -f tests/publish.md -c tests/manhua.css --no-mac-style --server http://localhost:3000"
},
"packageManager": "pnpm@10.7.1",
"dependencies": {
"@wenyan-md/core": "^2.0.8",
"commander": "^14.0.0",
"express": "^5.2.1",
"form-data-encoder": "^4.1.0",
"formdata-node": "^6.0.3",
"jsdom": "^27.4.0",
"multer": "^2.1.0"
},
"devDependencies": {
"@types/express": "^5.0.6",
"@types/multer": "^2.0.0",
"@types/node": "^24.3.0",
"dotenv-cli": "^10.0.0",
"tsx": "^4.21.0",
"typescript": "^5.9.2",
"vite": "^7.3.1",
"vitest": "^4.0.18"
}
}