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