Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 2.64 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 2.64 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
{
"name": "sandbox-sdk",
"private": true,
"description": "Application-owned sandbox patterns and workspace file operations for Cloudflare Containers",
"workspaces": [
"packages/*",
"examples/*",
"examples/coding-agents/*"
],
"type": "module",
"scripts": {
"build": "vp pack && npm run shim:build",
"changeset": "changeset",
"check": "npm run check:ts && npm run shim:check",
"check:ts": "vp pack && vp check && npm run knip",
"example": "node tools/example.ts",
"examples:check-bundles": "node tools/example.ts check-bundles",
"knip": "knip",
"shim:build": "docker build --platform linux/amd64 ${SANDBOX_EXTRA_CA:+--secret id=extra_ca,src=$SANDBOX_EXTRA_CA} --target image --tag sandbox-tools:local --file images/sandbox-tools/Dockerfile .",
"shim:check": "docker build --platform linux/amd64 ${SANDBOX_EXTRA_CA:+--secret id=extra_ca,src=$SANDBOX_EXTRA_CA} --target verify --file images/sandbox-tools/Dockerfile .",
"test": "npm run test:unit && npm run shim:check",
"test:unit": "vp test --run --passWithNoTests",
"test:package": "vp pack && vp test --run packages/sandbox/tests/packed-api.test.ts && npm pack --workspace packages/sandbox --dry-run",
"test:release": "npm test && npm run test:package && npm run test:shim-mounts && npm run test:s3-e2e && npm run test:s3-lifecycle",
"test:shim-mounts": "docker build --platform linux/amd64 ${SANDBOX_EXTRA_CA:+--secret id=extra_ca,src=$SANDBOX_EXTRA_CA} --target mounts --tag sandbox-tools-mounts-test --file images/sandbox-tools/Dockerfile . && docker run --rm --privileged --platform linux/amd64 sandbox-tools-mounts-test; status=$?; docker image rm sandbox-tools-mounts-test >/dev/null 2>&1; exit $status",
"test:s3-e2e": "npm run test:s3-fixtures && SANDBOX_S3_E2E=1 vp test --run packages/sandbox/tests/s3-gateway.integration.test.ts",
"test:s3-fixtures": "node packages/sandbox/tests/s3-fixtures.ts",
"test:s3-lifecycle": "npm run test:s3-fixtures && SANDBOX_S3_LIFECYCLE=1 vp test --run packages/sandbox/tests/s3-mount.integration.test.ts",
"test:s3-native-local": "vp pack && SANDBOX_S3_NATIVE_LOCAL=1 vp test --run packages/sandbox/tests/s3-native-local.integration.test.ts"
},
"devDependencies": {
"@changesets/changelog-github": "1.0.1",
"@changesets/cli": "3.0.3",
"@changesets/read": "1.0.1",
"@cloudflare/workers-types": "5.20261023.1",
"@types/node": "24.19.2",
"knip": "6.42.1",
"typescript": "6.0.3",
"vite-plus": "1.4.0",
"wrangler": "4.152.0",
"zod": "4.6.7"
},
"overrides": {
"wrangler": "$wrangler"
},
"engines": {
"node": ">=24.11.0"
},
"packageManager": "npm@11.16.0"
}