package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "@hoppscotch/js-sandbox",
  3. "version": "2.1.0",
  4. "description": "JavaScript sandboxes for running external scripts used by Hoppscotch clients",
  5. "type": "module",
  6. "files": [
  7. "dist",
  8. "index.d.ts"
  9. ],
  10. "exports": {
  11. ".": {
  12. "types": "./dist/types/index.d.ts"
  13. },
  14. "./web": {
  15. "types": "./dist/web.d.ts",
  16. "import": "./dist/web.js",
  17. "require": "./dist/web.cjs"
  18. },
  19. "./node": {
  20. "types": "./dist/node.d.ts",
  21. "import": "./dist/node.js",
  22. "require": "./dist/node.cjs"
  23. }
  24. },
  25. "types": "./index.d.ts",
  26. "engines": {
  27. "node": ">=14",
  28. "pnpm": ">=3"
  29. },
  30. "scripts": {
  31. "lint": "eslint --ext .ts,.js --ignore-path .gitignore .",
  32. "lintfix": "eslint --fix --ext .ts,.js --ignore-path .gitignore .",
  33. "test": "vitest run",
  34. "build": "vite build && tsc --emitDeclarationOnly",
  35. "clean": "pnpm tsc --build --clean",
  36. "postinstall": "pnpm run build",
  37. "prepublish": "pnpm run build",
  38. "do-lint": "pnpm run lint",
  39. "do-lintfix": "pnpm run lintfix",
  40. "do-typecheck": "pnpm exec tsc --noEmit",
  41. "do-build-prod": "pnpm run build",
  42. "do-test": "pnpm run test"
  43. },
  44. "keywords": [
  45. "hoppscotch",
  46. "sandbox",
  47. "js-sandbox",
  48. "apis",
  49. "test-runner"
  50. ],
  51. "author": "Hoppscotch (support@hoppscotch.io)",
  52. "license": "MIT",
  53. "dependencies": {
  54. "@hoppscotch/data": "workspace:^",
  55. "@types/lodash-es": "4.17.12",
  56. "fp-ts": "2.16.9",
  57. "lodash": "4.17.21",
  58. "lodash-es": "4.17.21"
  59. },
  60. "devDependencies": {
  61. "@digitak/esrun": "3.2.26",
  62. "@relmify/jest-fp-ts": "2.1.1",
  63. "@types/jest": "29.5.13",
  64. "@types/lodash": "4.17.10",
  65. "@types/node": "22.7.5",
  66. "@typescript-eslint/eslint-plugin": "8.9.0",
  67. "@typescript-eslint/parser": "8.9.0",
  68. "eslint": "8.57.0",
  69. "eslint-config-prettier": "9.1.0",
  70. "eslint-plugin-prettier": "5.2.1",
  71. "io-ts": "2.2.21",
  72. "prettier": "3.3.3",
  73. "typescript": "5.5.4",
  74. "vite": "5.4.9",
  75. "vitest": "2.1.3"
  76. },
  77. "peerDependencies": {
  78. "isolated-vm": "5.0.1"
  79. },
  80. "peerDependenciesMeta": {
  81. "isolated-vm": {
  82. "optional": true
  83. }
  84. }
  85. }