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": "npm run lint && npm run format && npm run types:check && npm run test:unit",
  8. "lint": "eslint --ext .js --ext .cjs --ext .ts --max-warnings 0 --format unix .",
  9. "lint:fix": "eslint --fix --ext .js --ext .cjs --ext .ts .",
  10. "format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
  11. "format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
  12. "test:ci": "npm run test:unit",
  13. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  14. "types:check": "tsc --noEmit"
  15. },
  16. "author": "Overleaf (https://www.overleaf.com)",
  17. "license": "AGPL-3.0-only",
  18. "devDependencies": {
  19. "@types/node-fetch": "^2.6.11",
  20. "body-parser": "^1.20.3",
  21. "chai": "^4.3.6",
  22. "chai-as-promised": "^7.1.1",
  23. "express": "^4.21.2",
  24. "mocha": "^11.1.0",
  25. "typescript": "^5.0.4"
  26. },
  27. "dependencies": {
  28. "@overleaf/o-error": "*",
  29. "lodash": "^4.17.21",
  30. "node-fetch": "^2.7.0",
  31. "selfsigned": "^2.4.1"
  32. }
  33. }