package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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.d.ts",
  7. "scripts": {
  8. "test": "npm run lint && npm run format && npm run types:check && 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. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  15. "types:build": "[ -d types ] || tsc --emitDeclarationOnly",
  16. "types:check": "tsc --noEmit",
  17. "types:rebuild": "rm -rf types && npm run types:build"
  18. },
  19. "author": "Overleaf (https://www.overleaf.com)",
  20. "license": "AGPL-3.0-only",
  21. "devDependencies": {
  22. "body-parser": "^1.20.2",
  23. "chai": "^4.3.6",
  24. "chai-as-promised": "^7.1.1",
  25. "express": "^4.18.2",
  26. "mocha": "^10.2.0",
  27. "typescript": "^5.0.4"
  28. },
  29. "dependencies": {
  30. "@overleaf/o-error": "*",
  31. "lodash": "^4.17.21",
  32. "node-fetch": "^2.6.11"
  33. }
  34. }