-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.46 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.46 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "@cloudflare/sandbox",
"version": "0.8.1",
"repository": {
"type": "git",
"url": "https://github.com/cloudflare/sandbox-sdk"
},
"description": "A sandboxed environment for running commands",
"type": "module",
"dependencies": {
"@cloudflare/containers": "^0.2.2",
"aws4fetch": "^1.0.20"
},
"devDependencies": {
"@openai/agents": "^0.3.3",
"@opencode-ai/sdk": "^1.1.40",
"@repo/shared": "*",
"@xterm/xterm": "^6.0.0",
"wrangler": "^4.76.0"
},
"peerDependencies": {
"@openai/agents": "^0.3.3",
"@opencode-ai/sdk": "^1.1.40",
"@xterm/xterm": ">=5.0.0"
},
"peerDependenciesMeta": {
"@openai/agents": {
"optional": true
},
"@opencode-ai/sdk": {
"optional": true
},
"@xterm/xterm": {
"optional": true
}
},
"tags": [
"sandbox",
"codegen",
"containers",
"cloudflare",
"durable objects"
],
"scripts": {
"build": "rm -rf dist && tsdown --config tsdown.config.ts",
"check": "biome check && npm run typecheck",
"fix": "biome check --fix && npm run typecheck",
"typecheck": "tsc --noEmit",
"docker:local": "scripts/docker-local.sh",
"test": "vitest run --config vitest.config.ts \"$@\"",
"test:e2e": "npm run test:e2e:vitest && npm run test:e2e:browser",
"test:e2e:vitest": "cd ../../tests/e2e/test-worker && ./generate-config.sh && cd ../../.. && vitest run --config vitest.e2e.config.ts \"$@\"",
"test:e2e:browser": "cd ../../tests/e2e/test-worker && ./generate-config.sh && cd ../../.. && npx playwright install chromium && playwright test --config tests/e2e/browser/playwright.config.ts",
"test:perf": "cd ../.. && vitest run --config vitest.perf.config.ts \"$@\""
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./openai": {
"types": "./dist/openai/index.d.ts",
"import": "./dist/openai/index.js",
"require": "./dist/openai/index.js"
},
"./opencode": {
"types": "./dist/opencode/index.d.ts",
"import": "./dist/opencode/index.js",
"require": "./dist/opencode/index.js"
},
"./xterm": {
"types": "./dist/xterm/index.d.ts",
"import": "./dist/xterm/index.js",
"require": "./dist/xterm/index.js"
}
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"files": [
"dist",
"Dockerfile",
"startup.sh",
"README.md",
"LICENSE"
]
}