Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

2.3 KB
Raw Blame
{
  "name": "@hoppscotch/js-sandbox",
  "version": "2.1.0",
  "description": "JavaScript sandboxes for running external scripts used by Hoppscotch clients",
  "type": "module",
  "files": [
    "dist",
    "*.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"
    },
    "./scripting": {
      "types": "./dist/scripting.d.ts",
      "import": "./dist/scripting.js",
      "require": "./dist/scripting.cjs"
    }
  },
  "types": "./index.d.ts",
  "engines": {
    "node": ">=22"
  },
  "scripts": {
    "lint": "eslint .",
    "lintfix": "eslint --fix .",
    "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 ([email protected])",
  "license": "MIT",
  "dependencies": {
    "@hoppscotch/data": "workspace:^",
    "@types/lodash-es": "4.17.12",
    "acorn": "8.18.0",
    "chai": "6.2.2",
    "faraday-cage": "0.1.0",
    "fp-ts": "2.16.11",
    "lodash": "4.18.1",
    "lodash-es": "4.18.1"
  },
  "devDependencies": {
    "@digitak/esrun": "3.2.26",
    "@eslint/eslintrc": "3.3.6",
    "@eslint/js": "9.39.2",
    "@relmify/jest-fp-ts": "2.1.1",
    "@types/chai": "5.2.3",
    "@types/jest": "30.0.0",
    "@types/lodash": "4.17.25",
    "@types/node": "24.10.1",
    "@typescript-eslint/eslint-plugin": "8.64.0",
    "@typescript-eslint/parser": "8.64.0",
    "eslint": "9.39.2",
    "eslint-config-prettier": "10.1.8",
    "eslint-plugin-prettier": "5.5.6",
    "globals": "16.5.0",
    "io-ts": "2.2.22",
    "prettier": "3.9.6",
    "typescript": "5.9.3",
    "vite": "7.3.2",
    "vitest": "4.1.11"
  },
  "peerDependencies": {
    "isolated-vm": "6.1.2"
  },
  "peerDependenciesMeta": {
    "isolated-vm": {
      "optional": true
    }
  }
}