{ "name": "@r1ck404/nodepod", "version": "1.11.2", "description": "Browser-native Node.js runtime environment", "type": "module", "license": "MIT WITH Commons-Clause", "author": "R1ck404 (https://github.com/R1ck404)", "repository": { "type": "git", "url": "git+https://github.com/R1ck404/Nodepod.git" }, "bugs": { "url": "https://github.com/R1ck404/Nodepod/issues" }, "homepage": "https://r1ck404.github.io/Nodepod/", "funding": { "type": "github", "url": "https://github.com/sponsors/R1ck404" }, "keywords": [ "node", "browser", "runtime", "sandbox", "typescript", "virtual-filesystem", "polyfill", "webcontainer", "in-browser", "nodejs" ], "engines": { "node": ">=20.0.0", "pnpm": ">=10.34.5" }, "packageManager": "pnpm@10.34.5", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.cjs" } }, "./headless": { "import": { "types": "./dist/headless.d.ts", "default": "./dist/headless.mjs" }, "require": { "types": "./dist/headless.d.ts", "default": "./dist/headless.cjs" } }, "./server": { "import": { "types": "./dist/integrations/server.d.ts", "default": "./dist/integrations/server.mjs" }, "require": { "types": "./dist/integrations/server.d.ts", "default": "./dist/integrations/server.cjs" } }, "./vite": { "import": { "types": "./dist/integrations/vite.d.ts", "default": "./dist/integrations/vite.mjs" }, "require": { "types": "./dist/integrations/vite.d.ts", "default": "./dist/integrations/vite.cjs" } }, "./next": { "import": { "types": "./dist/integrations/next.d.ts", "default": "./dist/integrations/next.mjs" }, "require": { "types": "./dist/integrations/next.d.ts", "default": "./dist/integrations/next.cjs" } } }, "files": [ "dist" ], "sideEffects": [ "./src/index.ts", "./src/headless.ts", "./src/host/browser-host.ts", "./src/host/runtime-host.ts", "./dist/index.mjs", "./dist/index.cjs", "./dist/headless.mjs", "./dist/headless.cjs" ], "scripts": { "build:lib": "vite build --config vite.lib.config.js && node -e \"const fs=require('fs'); for (const f of ['__sw__.js','__nodepod_bridge__.html','__nodepod_bridge__.js']) fs.copyFileSync('static/'+f,'dist/'+f)\"", "build:types": "tsc --project tsconfig.build.json && node scripts/fix-dts-extensions.mjs dist", "build:publish": "pnpm run build:lib && pnpm run build:types", "type-check": "tsc --noEmit", "test": "vitest run", "test:watch": "vitest", "test:browser:preview": "playwright test --config playwright.preview.config.ts", "test:browser:perf": "pnpm run build:publish && playwright test --config playwright.perf.config.ts", "docs:dev": "pnpm run build:publish && pnpm --filter nodepod-site dev", "docs:build": "pnpm run build:publish && pnpm --filter nodepod-site build", "docs:check": "pnpm run build:publish && pnpm --filter nodepod-site check", "docs:test": "pnpm run docs:build && pnpm --filter nodepod-site test", "bench": "vitest bench", "bench:run": "vitest bench --run", "prepublishOnly": "pnpm run build:publish" }, "dependencies": { "@noble/hashes": "npm:@r1ck404/fast-noble-hashes@1.8.2", "acorn": "npm:@r1ck404/fast-acorn@8.18.2", "acorn-jsx": "npm:@r1ck404/fast-acorn-jsx@5.3.4", "brotli": "^1.3.3", "brotli-wasm": "npm:@r1ck404/fast-brotli-wasm@3.0.3", "comlink": "^4.4.2", "es-module-lexer": "npm:@r1ck404/fast-es-module-lexer@1.7.2", "pako": "npm:@r1ck404/fast-pako@2.1.2", "resolve.exports": "^2.0.3", "set-cookie-parser": "^3.1.1" }, "peerDependencies": { "@xterm/addon-fit": "^0.11.0", "@xterm/addon-serialize": "^0.14.0", "@xterm/addon-webgl": "^0.19.0", "@xterm/xterm": "^6.0.0", "next": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" }, "peerDependenciesMeta": { "@xterm/xterm": { "optional": true }, "@xterm/addon-fit": { "optional": true }, "@xterm/addon-webgl": { "optional": true }, "@xterm/addon-serialize": { "optional": true }, "vite": { "optional": true }, "next": { "optional": true } }, "devDependencies": { "@playwright/test": "^1.61.1", "@types/node": "^25.0.10", "@types/pako": "^2.0.4", "better-auth": "^1.2.10", "better-call": "1.3.7", "esbuild": "^0.27.2", "fake-indexeddb": "^6.2.5", "http-proxy": "^1.18.1", "next": "^16.2.9", "typescript": "^5.9.3", "vite": "^5.4.0", "vite-plugin-top-level-await": "^1.6.0", "vite-plugin-wasm": "^3.5.0", "vitest": "4.0.18", "wa-sqlite": "^1.0.0" } }