{
  "name": "sandboxedjs",
  "version": "0.2.22",
  "description": "A zero-infra JavaScript and Python sandbox for AI agents and browser IDEs. A lightweight, secure alternative to WebContainers and NodePod for running untrusted code with a full POSIX shell.",
  "type": "module",
  "license": "MIT",
  "sideEffects": false,
  "engines": {
    "node": ">=18.17"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "sandboxedjs": "bin/sandboxedjs.mjs",
    "sbx": "bin/sandboxedjs.mjs",
    "sandboxedjs-serve": "bin/sandboxedjs-serve.mjs",
    "sandboxedjs-build-wheels": "bin/sandboxedjs-build-wheels.mjs",
    "sandboxedjs-egress": "bin/sandboxedjs-egress.mjs",
    "sandboxedjs-pack": "bin/sandboxedjs-pack.mjs"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./package.json": "./package.json",
    "./agent": {
      "types": "./dist/agent.d.ts",
      "import": "./dist/agent.js",
      "require": "./dist/agent.cjs"
    },
    "./egress": {
      "types": "./dist/egress.d.ts",
      "import": "./dist/egress.js",
      "require": "./dist/egress.cjs"
    },
    "./browser-host": {
      "types": "./dist/browser-host.d.ts",
      "import": "./dist/browser-host.js",
      "require": "./dist/browser-host.cjs"
    },
    "./python-abi": {
      "types": "./dist/python-abi.d.ts",
      "import": "./dist/python-abi.js",
      "require": "./dist/python-abi.cjs"
    }
  },
  "files": [
    "dist",
    "!dist/python/wheels",
    "!dist/**/*.map",
    "bin",
    "README.md",
    "LICENSE",
    "assets/logo.png",
    "assets/demo.png",
    "docs"
  ],
  "scripts": {
    "build": "tsup && node python-runtime/scripts/copy_runtime.mjs",
    "dev": "tsup --watch",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "test:watch": "vitest",
    "check": "npm run typecheck && npm run build && npm test",
    "prepublishOnly": "npm run typecheck && npm run build && npm run test:release",
    "test:release": "vitest run test/python-runtime/extension-abi.test.ts test/python-runtime/resolver.test.ts test/no-static-node-builtins.test.ts test/preview-worker-build.test.ts test/egress-cli.test.ts"
  },
  "keywords": [
    "sandbox",
    "linux",
    "container",
    "vfs",
    "shell",
    "posix",
    "bash",
    "coreutils",
    "python",
    "webcontainer",
    "virtual-filesystem",
    "emulator",
    "ai-agent-sandbox",
    "javascript-sandboxing",
    "code-execution",
    "webcontainer-alternative",
    "nodepod-alternative",
    "untrusted-code",
    "browser-ide",
    "secure-sandbox"
  ],
  "dependencies": {
    "@noble/hashes": "^1.8.0",
    "acorn": "^8.18.0",
    "acorn-jsx": "^5.3.2",
    "brotli-wasm": "^3.0.1",
    "buffer": "^6.0.3",
    "comlink": "^4.4.2",
    "events": "^3.3.0",
    "pako": "^2.2.0",
    "path-browserify": "^1.0.1",
    "process": "^0.11.10",
    "querystring-es3": "^0.2.1",
    "resolve.exports": "^2.0.3",
    "sandboxedjs": "^0.2.12",
    "semver": "^7.8.5",
    "set-cookie-parser": "^3.1.2",
    "stream-browserify": "^3.0.0",
    "string_decoder": "^1.3.0",
    "sucrase": "^3.35.1",
    "timers-browserify": "^2.0.12",
    "url": "^0.11.4",
    "wa-sqlite": "^1.0.0"
  },
  "devDependencies": {
    "@types/node": "^22.20.1",
    "@types/pako": "^2.0.4",
    "@types/semver": "^7.8.0",
    "@types/ws": "^8.18.1",
    "tsup": "^8.5.1",
    "typescript": "^5.9.3",
    "vitest": "^2.1.9",
    "ws": "^8.21.3"
  },
  "optionalDependencies": {
    "@ffmpeg/core": "^0.12.10",
    "@rolldown/binding-wasm32-wasi": "^1.2.6",
    "esbuild-wasm": "^0.20.2"
  }
}
