package.json 1.0 KB

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