package.json 861 B

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "name": "@roo-code/types",
  3. "version": "0.0.0",
  4. "type": "module",
  5. "main": "./dist/index.cjs",
  6. "exports": {
  7. ".": {
  8. "types": "./src/index.ts",
  9. "import": "./src/index.ts",
  10. "require": {
  11. "types": "./dist/index.d.cts",
  12. "default": "./dist/index.cjs"
  13. }
  14. }
  15. },
  16. "scripts": {
  17. "lint": "eslint src --ext=ts --max-warnings=0",
  18. "check-types": "tsc --noEmit",
  19. "test": "vitest run",
  20. "build": "tsup",
  21. "build:watch": "tsup --watch --outDir npm/dist --onSuccess 'echo ✅ Types rebuilt to npm/dist'",
  22. "npm:publish": "node scripts/publish-npm.cjs",
  23. "clean": "rimraf dist .turbo"
  24. },
  25. "dependencies": {
  26. "zod": "^3.25.61"
  27. },
  28. "devDependencies": {
  29. "@roo-code/config-eslint": "workspace:^",
  30. "@roo-code/config-typescript": "workspace:^",
  31. "@types/node": "^24.1.0",
  32. "globals": "^16.3.0",
  33. "tsup": "^8.3.5",
  34. "vitest": "^3.2.3"
  35. }
  36. }