package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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 .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  9. "lint:fix": "eslint --fix --ext .cjs,.js,.jsx,.mjs,.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.13",
  20. "body-parser": "1.20.4",
  21. "chai": "^4.3.6",
  22. "chai-as-promised": "^7.1.1",
  23. "express": "4.22.1",
  24. "mocha": "^11.1.0",
  25. "mocha-junit-reporter": "^2.2.1",
  26. "mocha-multi-reporters": "^1.5.1",
  27. "typescript": "^5.0.4"
  28. },
  29. "dependencies": {
  30. "@overleaf/o-error": "*",
  31. "lodash": "^4.17.21",
  32. "node-fetch": "^2.7.0",
  33. "selfsigned": "^2.4.1"
  34. }
  35. }