package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "name": "@overleaf/fetch-utils",
  3. "version": "0.1.0",
  4. "description": "utilities for node-fetch",
  5. "main": "index.js",
  6. "scripts": {
  7. "test": "yarn run lint && yarn run types:check && yarn run test:unit",
  8. "lint": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  9. "lint:fix": "eslint --cache --cache-location ../../node_modules/.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  10. "test:ci": "yarn run test:unit",
  11. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  12. "types:check": "tsc --noEmit"
  13. },
  14. "author": "Overleaf (https://www.overleaf.com)",
  15. "license": "AGPL-3.0-only",
  16. "devDependencies": {
  17. "@types/node-fetch": "^2.6.13",
  18. "body-parser": "1.20.4",
  19. "chai": "^4.3.6",
  20. "chai-as-promised": "^7.1.1",
  21. "express": "4.22.1",
  22. "mocha": "^11.1.0",
  23. "mocha-junit-reporter": "^2.2.1",
  24. "mocha-multi-reporters": "^1.5.1",
  25. "selfsigned": "^5.5.0",
  26. "typescript": "^5.0.4"
  27. },
  28. "dependencies": {
  29. "@overleaf/o-error": "workspace:*",
  30. "lodash": "^4.17.21",
  31. "node-fetch": "^2.7.0"
  32. }
  33. }