package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "@eggjs/router",
  3. "version": "2.0.1",
  4. "description": "Router middleware for egg/koa. Provides RESTful resource routing.",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/eggjs/egg-router.git"
  8. },
  9. "bugs": {
  10. "url": "https://github.com/eggjs/egg/issues"
  11. },
  12. "files": [
  13. "lib",
  14. "index.js"
  15. ],
  16. "author": "eggjs",
  17. "keywords": [
  18. "koa",
  19. "middleware",
  20. "router",
  21. "route"
  22. ],
  23. "dependencies": {
  24. "co": "^4.6.0",
  25. "debug": "^3.1.0",
  26. "http-errors": "^1.3.1",
  27. "inflection": "^1.12.0",
  28. "is-type-of": "^1.2.1",
  29. "koa-compose": "^3.0.0",
  30. "koa-convert": "^1.2.0",
  31. "methods": "^1.0.1",
  32. "path-to-regexp": "^1.1.1",
  33. "urijs": "^1.19.0",
  34. "utility": "^1.15.0"
  35. },
  36. "devDependencies": {
  37. "egg-bin": "^4.10.0",
  38. "egg-ci": "^1.11.0",
  39. "eslint": "^5.13.0",
  40. "eslint-config-egg": "^7.1.0",
  41. "expect.js": "^0.3.1",
  42. "koa": "^2.7.0",
  43. "mocha": "^2.0.1",
  44. "should": "^6.0.3",
  45. "supertest": "^1.0.1"
  46. },
  47. "scripts": {
  48. "test-local": "egg-bin test",
  49. "test": "npm run lint && egg-bin test",
  50. "ci": "npm run lint && egg-bin cov",
  51. "lint": "eslint ."
  52. },
  53. "ci": {
  54. "type": "github",
  55. "version": "8, 10, 11"
  56. },
  57. "engines": {
  58. "node": ">= 8"
  59. },
  60. "license": "MIT"
  61. }