package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "@hoppscotch/js-sandbox",
  3. "version": "2.1.0",
  4. "description": "JavaScript sandboxes for running external scripts used by Hoppscotch clients",
  5. "main": "./lib/index.js",
  6. "module": "./lib/index.mjs",
  7. "type": "commonjs",
  8. "exports": {
  9. ".": {
  10. "require": "./lib/index.js",
  11. "default": "./lib/index.mjs"
  12. }
  13. },
  14. "types": "./lib/",
  15. "engines": {
  16. "node": ">=14",
  17. "pnpm": ">=3"
  18. },
  19. "scripts": {
  20. "lint": "eslint --ext .ts,.js --ignore-path .gitignore .",
  21. "lintfix": "eslint --fix --ext .ts,.js --ignore-path .gitignore .",
  22. "test": "pnpm exec jest",
  23. "build": "pnpm exec tsup",
  24. "clean": "pnpm tsc --build --clean",
  25. "postinstall": "pnpm run build",
  26. "prepublish": "pnpm run build",
  27. "do-lint": "pnpm run lint",
  28. "do-lintfix": "pnpm run lintfix",
  29. "do-typecheck": "pnpm exec tsc --noEmit",
  30. "do-build-prod": "pnpm run build",
  31. "do-test": "pnpm run test"
  32. },
  33. "keywords": [
  34. "hoppscotch",
  35. "sandbox",
  36. "js-sandbox",
  37. "apis",
  38. "test-runner"
  39. ],
  40. "author": "Hoppscotch (support@hoppscotch.io)",
  41. "license": "MIT",
  42. "dependencies": {
  43. "@hoppscotch/data": "workspace:^",
  44. "fp-ts": "^2.11.10",
  45. "lodash": "^4.17.21",
  46. "quickjs-emscripten": "^0.15.0",
  47. "tsup": "^5.12.5"
  48. },
  49. "devDependencies": {
  50. "@digitak/esrun": "^3.1.2",
  51. "@relmify/jest-fp-ts": "^2.0.1",
  52. "@types/jest": "^27.4.1",
  53. "@types/lodash": "^4.14.181",
  54. "@types/node": "^17.0.24",
  55. "@typescript-eslint/eslint-plugin": "^5.19.0",
  56. "@typescript-eslint/parser": "^5.19.0",
  57. "eslint": "^8.13.0",
  58. "eslint-config-prettier": "^8.6.0",
  59. "eslint-plugin-prettier": "^4.2.1",
  60. "io-ts": "^2.2.16",
  61. "jest": "^27.5.1",
  62. "prettier": "^2.8.4",
  63. "ts-jest": "^27.1.4",
  64. "typescript": "^4.6.3"
  65. }
  66. }