package.json 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "@deepseek-ai/dsh-root",
  3. "version": "0.0.1",
  4. "private": true,
  5. "type": "module",
  6. "packageManager": "pnpm@11.7.0",
  7. "engines": {
  8. "node": ">=24"
  9. },
  10. "workspaces": [
  11. "vendor/*",
  12. "packages/*/*"
  13. ],
  14. "scripts": {
  15. "build": "tsc -b tsconfig.build.json && tsdown",
  16. "clean:build": "rm -rf .typecheck packages/*/*/lib vendor/*/lib *.tsbuildinfo",
  17. "typecheck": "tsc -b tsconfig.json",
  18. "lint": "eslint .",
  19. "lint:fix": "eslint . --fix",
  20. "test": "vitest run",
  21. "test:coverage": "vitest run --coverage",
  22. "test:e2e": "vitest run --config vitest.e2e.config.ts",
  23. "test:snapshot": "vitest run --config vitest.snapshot.config.ts",
  24. "test:snapshot:record": "DSH_SNAPSHOT=record vitest run --config vitest.snapshot.config.ts --update",
  25. "knip": "knip --treat-config-hints-as-errors",
  26. "publint": "tsx scripts/publint-all.ts",
  27. "doc-typecheck": "tsx scripts/doc-typecheck.ts",
  28. "verify-md-wrap": "tsx scripts/verify-md-wrap.ts",
  29. "verify-md-links": "tsx scripts/verify-md-links.ts",
  30. "verify-doc-refs": "tsx scripts/verify-doc-refs.ts",
  31. "verify-package-paths": "tsx scripts/verify-package-paths.ts",
  32. "verify-mermaid": "tsx scripts/verify-mermaid.ts",
  33. "verify-rfc-classification": "tsx scripts/verify-rfc-classification.ts",
  34. "verify-rfc-format": "tsx scripts/verify-rfc-format.ts",
  35. "verify-type-equiv": "tsx scripts/verify-type-equiv.ts",
  36. "verify-translation-pairing": "tsx scripts/verify-translation-pairing.ts",
  37. "verify-doc-budgets": "tsx scripts/verify-doc-budgets.ts",
  38. "verify-node-next-types": "tsx scripts/verify-node-next-types.ts",
  39. "gen-cordis-catalog": "tsx scripts/gen-cordis-catalog.ts",
  40. "gen-rfc-index": "tsx scripts/gen-rfc-index.ts",
  41. "verify-cordis-catalog": "tsx scripts/gen-cordis-catalog.ts --check",
  42. "gen-tool-catalog": "tsx scripts/gen-tool-catalog.ts",
  43. "verify-tool-catalog": "tsx scripts/gen-tool-catalog.ts --check",
  44. "gen-doc-graphs": "tsx scripts/gen-doc-graphs.ts",
  45. "verify-doc-graphs": "tsx scripts/gen-doc-graphs.ts --check",
  46. "gen-persistence-catalog": "tsx scripts/gen-persistence-catalog.ts",
  47. "verify-persistence-catalog": "tsx scripts/gen-persistence-catalog.ts --check",
  48. "gen-module-graph": "tsx scripts/gen-module-graph.ts",
  49. "verify-module-graph": "tsx scripts/gen-module-graph.ts --check",
  50. "constraints": "tsx scripts/check-workspace-constraints.ts",
  51. "doc-sync": "pnpm run doc-typecheck && pnpm run verify-cordis-catalog && pnpm run verify-tool-catalog && pnpm run verify-persistence-catalog && pnpm run verify-doc-graphs && pnpm run verify-md-wrap && pnpm run verify-md-links && pnpm run verify-doc-refs && pnpm run verify-package-paths && pnpm run verify-mermaid && pnpm run verify-rfc-classification && pnpm run verify-rfc-format && pnpm run verify-type-equiv && pnpm run verify-translation-pairing && pnpm run verify-doc-budgets",
  52. "hygiene": "pnpm run knip && pnpm run publint && pnpm run constraints && pnpm run verify-node-next-types",
  53. "demo:echo": "node --expose-internals --import tsx packages/ui/stdio-agent/src/bin.ts examples/echo-agent/cordis.yml",
  54. "demo:repl": "node --expose-internals --import tsx packages/ui/stdio-agent/src/bin.ts examples/coding-agent/cordis.yml",
  55. "demo:acp": "node --import tsx packages/ui/acp-agent/src/bin.ts examples/acp-agent/cordis.yml",
  56. "postinstall": "node scripts/install-lefthook.mjs"
  57. },
  58. "devDependencies": {
  59. "@agentclientprotocol/sdk": "0.25.1",
  60. "@stylistic/eslint-plugin": "^5.10.0",
  61. "@types/jsdom": "^28.0.3",
  62. "@types/mdast": "^4.0.4",
  63. "@types/node": "^25.3.5",
  64. "@vitest/coverage-v8": "^4.1.8",
  65. "eslint": "^10.4.1",
  66. "fast-check": "^4.8.0",
  67. "jsdom": "29.1.1",
  68. "knip": "^6.16.1",
  69. "lefthook": "^2.1.9",
  70. "mdast-util-from-markdown": "^2.0.3",
  71. "mdast-util-gfm": "^3.1.0",
  72. "mermaid": "11.16.0",
  73. "micromark-extension-gfm": "^3.0.0",
  74. "publint": "^0.3.21",
  75. "tsdown": "^0.22.2",
  76. "tsx": "^4.22.4",
  77. "typescript": "^6.0.3",
  78. "typescript-eslint": "^8.61.0",
  79. "vite-tsconfig-paths": "^6.1.1",
  80. "vitest": "^4.1.8"
  81. }
  82. }