{ "name": "@hoppscotch/js-sandbox", "version": "2.1.0", "description": "JavaScript sandboxes for running external scripts used by Hoppscotch clients", "type": "module", "files": [ "dist", "index.d.ts" ], "exports": { ".": { "types": "./dist/types/index.d.ts" }, "./web": { "types": "./dist/web.d.ts", "import": "./dist/web.js", "require": "./dist/web.cjs" }, "./node": { "types": "./dist/node.d.ts", "import": "./dist/node.js", "require": "./dist/node.cjs" } }, "types": "./index.d.ts", "engines": { "node": ">=14", "pnpm": ">=3" }, "scripts": { "lint": "eslint --ext .ts,.js --ignore-path .gitignore .", "lintfix": "eslint --fix --ext .ts,.js --ignore-path .gitignore .", "test": "vitest run", "build": "vite build && tsc --emitDeclarationOnly", "clean": "pnpm tsc --build --clean", "postinstall": "pnpm run build", "prepublish": "pnpm run build", "do-lint": "pnpm run lint", "do-lintfix": "pnpm run lintfix", "do-typecheck": "pnpm exec tsc --noEmit", "do-build-prod": "pnpm run build", "do-test": "pnpm run test" }, "keywords": [ "hoppscotch", "sandbox", "js-sandbox", "apis", "test-runner" ], "author": "Hoppscotch (support@hoppscotch.io)", "license": "MIT", "dependencies": { "@hoppscotch/data": "workspace:^", "@types/lodash-es": "4.17.12", "fp-ts": "2.16.9", "lodash": "4.17.21", "lodash-es": "4.17.21" }, "devDependencies": { "@digitak/esrun": "3.2.26", "@relmify/jest-fp-ts": "2.1.1", "@types/jest": "29.5.13", "@types/lodash": "4.17.10", "@types/node": "22.7.5", "@typescript-eslint/eslint-plugin": "8.9.0", "@typescript-eslint/parser": "8.9.0", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.2.1", "io-ts": "2.2.21", "prettier": "3.3.3", "typescript": "5.5.4", "vite": "5.4.9", "vitest": "2.1.3" }, "peerDependencies": { "isolated-vm": "5.0.1" }, "peerDependenciesMeta": { "isolated-vm": { "optional": true } } }