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