package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "refresh-fetch",
  3. "description": "Wrapper around fetch capable of graceful authentication token refreshing.",
  4. "version": "0.8.0",
  5. "main": "./lib/index.js",
  6. "scripts": {
  7. "build": "babel src --out-dir lib",
  8. "clean": "rimraf lib dist coverage",
  9. "lint": "eslint src test",
  10. "prepublishOnly": "npm run clean && npm run lint && npm test && npm run build",
  11. "test": "jest"
  12. },
  13. "repository": {
  14. "type": "git",
  15. "url": "https://github.com/vlki/refresh-fetch.git"
  16. },
  17. "files": [
  18. "lib"
  19. ],
  20. "keywords": [
  21. "api",
  22. "fetch",
  23. "auth",
  24. "token",
  25. "refresh"
  26. ],
  27. "author": "Jan Vlcek <vlki@vlki.cz>",
  28. "license": "MIT",
  29. "homepage": "https://github.com/vlki/refresh-fetch",
  30. "dependencies": {
  31. "lodash": "^4.17.21"
  32. },
  33. "devDependencies": {
  34. "@babel/cli": "^7.14.5",
  35. "@babel/core": "^7.14.6",
  36. "@babel/plugin-proposal-object-rest-spread": "^7.14.7",
  37. "@babel/preset-env": "^7.14.7",
  38. "@babel/preset-flow": "^7.14.5",
  39. "babel-eslint": "^10.1.0",
  40. "eslint": "^7.30.0",
  41. "eslint-config-standard": "^16.0.3",
  42. "eslint-plugin-flowtype": "^5.8.0",
  43. "eslint-plugin-import": "^2.23.4",
  44. "eslint-plugin-node": "^11.1.0",
  45. "eslint-plugin-promise": "^5.1.0",
  46. "eslint-plugin-standard": "^5.0.0",
  47. "flow-bin": "^0.154.0",
  48. "jest": "^27.0.6",
  49. "node-fetch": "^2.6.1",
  50. "rimraf": "^3.0.2"
  51. }
  52. }