package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. "import": "./dist/web.js",
  16. "require": "./dist/web.cjs",
  17. "types": "./dist/web.d.ts"
  18. },
  19. "./node": {
  20. "import": "./dist/node.js",
  21. "require": "./dist/node.cjs",
  22. "types": "./dist/node.d.ts"
  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": "pnpm exec jest",
  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.11.10",
  57. "lodash": "^4.17.21",
  58. "lodash-es": "^4.17.21"
  59. },
  60. "devDependencies": {
  61. "@digitak/esrun": "^3.1.2",
  62. "@relmify/jest-fp-ts": "^2.0.1",
  63. "@types/jest": "^27.4.1",
  64. "@types/lodash": "^4.14.181",
  65. "@types/node": "^17.0.24",
  66. "@typescript-eslint/eslint-plugin": "^5.19.0",
  67. "@typescript-eslint/parser": "^5.19.0",
  68. "eslint": "^8.13.0",
  69. "eslint-config-prettier": "^8.6.0",
  70. "eslint-plugin-prettier": "^4.2.1",
  71. "io-ts": "^2.2.16",
  72. "jest": "^27.5.1",
  73. "prettier": "^2.8.4",
  74. "ts-jest": "^27.1.4",
  75. "typescript": "^4.6.3",
  76. "vite": "^5.0.4"
  77. }
  78. }