-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.09 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.09 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
66
67
68
69
70
{
"name": "@wenyan-md/cli",
"version": "2.0.3",
"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",
"test": "node --import tsx --test",
"test:watch": "node --import tsx --test --watch",
"typecheck": "tsc --noEmit",
"lint": "eslint . --fix",
"test:bin": "pnpm build && node ./dist/cli.js render -f tests/publish.md -c tests/manhua.css --no-mac-style",
"test:realPublish": "pnpm build && node --env-file=.env.test ./dist/cli.js publish -f tests/publish.md -t phycat",
"test:serverPublish": "pnpm build && node ./dist/cli.js publish -f tests/publish.md -c tests/manhua.css --no-mac-style --server http://localhost:3000",
"test:serve": "pnpm build && node --env-file=.env.test ./dist/cli.js serve"
},
"packageManager": "pnpm@10.7.1",
"dependencies": {
"@wenyan-md/core": "^3.0.3",
"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": {
"@eslint/js": "^10.0.1",
"@types/express": "^5.0.6",
"@types/multer": "^2.0.0",
"@types/node": "^24.3.0",
"eslint": "^10.1.0",
"globals": "^17.4.0",
"tsx": "^4.21.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.58.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}