package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "@hoppscotch/js-sandbox",
  3. "version": "1.0.0",
  4. "description": "JavaScript sandboxes for running external scripts used by Hoppscotch clients",
  5. "main": "./lib/index.js",
  6. "types": "./lib/",
  7. "type": "module",
  8. "engines": {
  9. "node": ">=14",
  10. "pnpm": ">=3"
  11. },
  12. "scripts": {
  13. "demo": "esrun src/demo.ts",
  14. "lint": "eslint --ext .ts,.js --ignore-path .gitignore .",
  15. "lintfix": "eslint --fix --ext .ts,.js --ignore-path .gitignore .",
  16. "test": "npx jest",
  17. "build": "npx tsc",
  18. "clean": "npx tsc --build --clean",
  19. "postinstall": "pnpm run build",
  20. "prepublish": "pnpm run build",
  21. "do-lint": "pnpm run lint",
  22. "do-lintfix": "pnpm run lintfix",
  23. "do-build-prod": "pnpm run build",
  24. "do-test": "pnpm run test"
  25. },
  26. "keywords": [
  27. "hoppscotch",
  28. "sandbox",
  29. "js-sandbox",
  30. "apis",
  31. "test-runner"
  32. ],
  33. "author": "Hoppscotch (support@hoppscotch.io)",
  34. "license": "MIT",
  35. "dependencies": {
  36. "fp-ts": "^2.11.5",
  37. "lodash": "^4.17.21",
  38. "quickjs-emscripten": "^0.13.0"
  39. },
  40. "devDependencies": {
  41. "@digitak/esrun": "^2.0.5",
  42. "@relmify/jest-fp-ts": "^1.1.1",
  43. "@types/jest": "^27.0.3",
  44. "@types/lodash": "^4.14.177",
  45. "@types/node": "^16.11.11",
  46. "@typescript-eslint/eslint-plugin": "^5.5.0",
  47. "@typescript-eslint/parser": "^5.5.0",
  48. "eslint": "^8.4.0",
  49. "eslint-config-prettier": "^8.3.0",
  50. "eslint-plugin-prettier": "^4.0.0",
  51. "io-ts": "^2.2.16",
  52. "jest": "^27.4.3",
  53. "prettier": "^2.5.1",
  54. "ts-jest": "^27.1.0",
  55. "typescript": "^4.5.2"
  56. }
  57. }