/ sdks / sandbox / javascript / package.json
package.json
 1  {
 2    "name": "@alibaba-group/opensandbox",
 3    "version": "0.1.7",
 4    "description": "OpenSandbox TypeScript/JavaScript SDK (sandbox lifecycle + execd APIs)",
 5    "license": "Apache-2.0",
 6    "type": "module",
 7    "main": "./dist/index.js",
 8    "types": "./dist/index.d.ts",
 9    "exports": {
10      ".": {
11        "types": "./dist/index.d.ts",
12        "import": "./dist/index.js",
13        "require": "./dist/cjs/index.cjs",
14        "default": "./dist/index.js"
15      },
16      "./internal": {
17        "types": "./dist/internal.d.ts",
18        "import": "./dist/internal.js",
19        "require": "./dist/cjs/internal.cjs",
20        "default": "./dist/internal.js"
21      }
22    },
23    "browser": "./dist/index.js",
24    "sideEffects": false,
25    "repository": {
26      "type": "git",
27      "url": "https://github.com/alibaba/OpenSandbox.git"
28    },
29    "bugs": {
30      "url": "https://github.com/alibaba/OpenSandbox/issues"
31    },
32    "homepage": "https://open-sandbox.ai",
33    "files": [
34      "dist",
35      "src"
36    ],
37    "engines": {
38      "node": ">=20"
39    },
40    "packageManager": "pnpm@9.15.0",
41    "scripts": {
42      "gen:api": "node ./scripts/generate-api.mjs",
43      "build": "pnpm run gen:api && tsup",
44      "test": "pnpm run build && node --test tests/*.test.mjs",
45      "lint": "eslint src scripts --max-warnings 0",
46      "typecheck": "tsc -p tsconfig.json --noEmit",
47      "clean": "rm -rf dist"
48    },
49    "dependencies": {
50      "openapi-fetch": "^0.14.1",
51      "undici": "^7.25.0"
52    },
53    "devDependencies": {
54      "@eslint/js": "^9.39.4",
55      "eslint": "^9.39.4",
56      "globals": "^17.0.0",
57      "openapi-typescript": "^7.13.0",
58      "tsup": "^8.5.1",
59      "typescript": "^5.7.2",
60      "typescript-eslint": "^8.59.0"
61    }
62  }