@jacobbubu/md-zh-format 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.
package/package.json ADDED
@@ -0,0 +1,94 @@
1
+ {
2
+ "name": "@jacobbubu/md-zh-format",
3
+ "version": "1.0.0",
4
+ "description": "Prettify Markdown content for Chinese-English mixed typography",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/jacobbubu/md-zh-format.git"
8
+ },
9
+ "bugs": {
10
+ "url": "https://github.com/jacobbubu/md-zh-format/issues"
11
+ },
12
+ "homepage": "https://github.com/jacobbubu/md-zh-format#readme",
13
+ "type": "module",
14
+ "main": "dist/index.js",
15
+ "types": "dist/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js"
20
+ }
21
+ },
22
+ "bin": {
23
+ "md-zh-format": "dist/cli.js"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "README.md",
28
+ "LICENSE"
29
+ ],
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
33
+ "scripts": {
34
+ "build": "tsc -p tsconfig.json",
35
+ "postbuild": "node scripts/ensure-cli-executable.mjs",
36
+ "clean": "rm -rf dist",
37
+ "prepack": "npm run clean && npm run build",
38
+ "prepare": "husky",
39
+ "dev": "tsx src/cli.ts",
40
+ "test": "tsx --test tests/**/*.test.ts tests/*.test.ts",
41
+ "test:prettify": "tsx --test tests/prettify/chs-eng-layout.test.ts",
42
+ "test:cli": "tsx --test tests/cli.test.ts",
43
+ "verify:skill": "node scripts/verify-skill.mjs",
44
+ "verify:skill:claude": "node scripts/verify-skill-claude.mjs",
45
+ "verify:all": "npm run test && npm run verify:skill",
46
+ "verify:all:claude": "npm run verify:all && npm run verify:skill:claude",
47
+ "example:api": "tsx examples/basic/api.ts",
48
+ "example:cli": "tsx src/cli.ts examples/basic/input.md",
49
+ "format": "prettier --write \"**/*.{ts,js,mjs,cjs,json,md,yml,yaml}\"",
50
+ "format:check": "prettier --check \"**/*.{ts,js,mjs,cjs,json,md,yml,yaml}\"",
51
+ "format:staged": "lint-staged",
52
+ "commitlint": "commitlint --from HEAD~1 --to HEAD --verbose",
53
+ "release": "semantic-release",
54
+ "release:dry-run": "semantic-release --dry-run --no-ci"
55
+ },
56
+ "keywords": [
57
+ "markdown",
58
+ "chinese",
59
+ "cjk",
60
+ "format",
61
+ "prettify",
62
+ "typography"
63
+ ],
64
+ "license": "MIT",
65
+ "dependencies": {
66
+ "prettier": "^3.6.2",
67
+ "remark-parse": "^11.0.0",
68
+ "unified": "^11.0.5"
69
+ },
70
+ "devDependencies": {
71
+ "@commitlint/cli": "^20.1.0",
72
+ "@commitlint/config-conventional": "^20.0.0",
73
+ "@semantic-release/changelog": "^6.0.3",
74
+ "@semantic-release/commit-analyzer": "^13.0.1",
75
+ "@semantic-release/git": "^10.0.1",
76
+ "@semantic-release/github": "^11.0.6",
77
+ "@semantic-release/npm": "^12.0.2",
78
+ "@semantic-release/release-notes-generator": "^14.1.0",
79
+ "@types/node": "^25.2.3",
80
+ "husky": "^9.1.7",
81
+ "lint-staged": "^16.2.6",
82
+ "semantic-release": "^24.2.8",
83
+ "tsx": "^4.21.0",
84
+ "typescript": "^5.9.3"
85
+ },
86
+ "lint-staged": {
87
+ "*.{ts,js,mjs,cjs,json,md,yml,yaml}": [
88
+ "prettier --write"
89
+ ]
90
+ },
91
+ "engines": {
92
+ "node": ">=18"
93
+ }
94
+ }