package.json 994 B

12345678910111213141516171819202122232425262728293031
  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 --max-warnings 0 --format unix .",
  9. "lint:fix": "eslint --fix --ext .js --ext .cjs .",
  10. "format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
  11. "format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
  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. "body-parser": "^1.20.2",
  20. "chai": "^4.3.6",
  21. "chai-as-promised": "^7.1.1",
  22. "express": "^4.19.2",
  23. "mocha": "^10.2.0",
  24. "typescript": "^5.0.4"
  25. },
  26. "dependencies": {
  27. "@overleaf/o-error": "*",
  28. "lodash": "^4.17.21",
  29. "node-fetch": "^2.6.11"
  30. }
  31. }