package.json 933 B

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "$schema": "https://json.schemastore.org/package.json",
  3. "name": "@opencode-ai/sdk",
  4. "version": "1.17.18",
  5. "type": "module",
  6. "license": "MIT",
  7. "scripts": {
  8. "test": "bun test",
  9. "typecheck": "tsgo --noEmit",
  10. "build": "bun ./script/build.ts"
  11. },
  12. "exports": {
  13. ".": "./src/index.ts",
  14. "./client": "./src/client.ts",
  15. "./server": "./src/server.ts",
  16. "./v2": "./src/v2/index.ts",
  17. "./v2/client": "./src/v2/client.ts",
  18. "./v2/gen/client": "./src/v2/gen/client/index.ts",
  19. "./v2/server": "./src/v2/server.ts",
  20. "./v2/types": "./src/v2/gen/types.gen.ts"
  21. },
  22. "files": [
  23. "dist"
  24. ],
  25. "devDependencies": {
  26. "@hey-api/openapi-ts": "0.90.10",
  27. "@tsconfig/node22": "catalog:",
  28. "@types/cross-spawn": "catalog:",
  29. "@types/node": "catalog:",
  30. "@typescript/native-preview": "catalog:",
  31. "typescript": "catalog:"
  32. },
  33. "dependencies": {
  34. "cross-spawn": "catalog:"
  35. }
  36. }