Files
md/package.json
Libin YANG fa341b438b chore(deps): upgrade project dependencies (#2037)
Bump direct dependencies, catalog pins, and security overrides to the latest
versions the toolchain accepts, and refresh the lockfile. Retarget the
@codemirror/view patch to 6.44.2 and the Mermaid patch to 12.4.0.

Keep Prettier at 2.8.8 and TypeScript at 6.0.3. @typescript-eslint still
requires typescript < 6.1.0. Follow Vite 8.4's dev.sourcemap.css option.
2026-11-28 22:17:53 +08:00

68 lines
2.8 KiB
JSON

{
"name": "md",
"type": "module",
"version": "2.1.0",
"private": false,
"packageManager": "pnpm@12.23.0",
"description": "WeChat Markdown Editor | 一款高度简洁的微信 Markdown 编辑器:支持 Markdown 语法、自定义主题样式、内容管理、多图床、AI 助手等特性",
"homepage": "https://github.com/doocs/md",
"repository": {
"type": "git",
"url": "https://github.com/doocs/md"
},
"bugs": {
"url": "https://github.com/doocs/md/issues"
},
"engines": {
"node": ">=22.22.2"
},
"scripts": {
"start": "pnpm web dev",
"web": "pnpm --filter @md/web",
"vscode": "pnpm --prefix ./apps/vscode",
"vscode:test": "pnpm --prefix ./apps/vscode test",
"mcp": "pnpm --filter @md/mcp-server",
"api": "pnpm --filter @md/api",
"cli": "pnpm --filter @doocs/md-cli",
"build:cli": "pnpm web build && shx rm -rf packages/md-cli/dist && shx cp -r apps/web/dist packages/md-cli/",
"build:dsh": "node apps/dsh/scripts/build-editor.mjs && node apps/dsh/scripts/build.mjs",
"pack:cli": "pnpm run build:cli && pnpm --dir packages/md-cli pack",
"changeset": "changeset",
"changeset:version": "changeset version",
"release:cli": "pnpm run build:cli && pnpm run build:dsh && changeset publish",
"lint": "eslint . --fix",
"type-check": "pnpm type-check:web && pnpm type-check:packages",
"type-check:web": "pnpm --filter @md/web run type-check",
"type-check:packages": "pnpm --filter @md/core --filter @md/shared --filter @md/api --filter @md/mcp-server run type-check && pnpm --prefix ./apps/vscode run type-check",
"test": "pnpm --filter @md/shared test && pnpm --filter @md/core test && pnpm --filter @md/web test && pnpm --filter @md/api test",
"postinstall": "simple-git-hooks",
"inspector": "pnpx node-modules-inspector",
"utools:package": "node ./scripts/package-utools.mjs",
"dsh:check": "node apps/dsh/scripts/build-editor.mjs && node apps/dsh/scripts/build.mjs && node apps/dsh/scripts/smoke.mjs && node apps/dsh/scripts/check-routes.mjs && node apps/dsh/scripts/test.mjs",
"dsh:editor": "node apps/dsh/scripts/build-editor.mjs --force",
"dsh:install": "node apps/dsh/scripts/install.mjs",
"dsh:pack": "node apps/dsh/scripts/pack.mjs",
"dsh:test": "node apps/dsh/scripts/test.mjs"
},
"devDependencies": {
"@antfu/eslint-config": "10.0.0",
"@changesets/changelog-github": "2.0.0",
"@changesets/cli": "3.1.0",
"@types/node": "^26.6.11",
"archiver": "^8.0.0",
"eslint": "^10.16.0",
"eslint-plugin-format": "^2.0.1",
"lint-staged": "^17.6.3",
"prettier": "2.8.8",
"shx": "^0.4.0",
"simple-git-hooks": "^2.14.0",
"typescript": "~6.0.3"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}