package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "egg-cors",
  3. "version": "2.2.3",
  4. "description": "cors plugin for egg",
  5. "eggPlugin": {
  6. "name": "cors"
  7. },
  8. "files": [
  9. "app",
  10. "config",
  11. "app.js",
  12. "index.d.ts"
  13. ],
  14. "repository": {
  15. "type": "git",
  16. "url": "git@github.com:eggjs/egg-cors.git"
  17. },
  18. "keywords": [
  19. "egg",
  20. "eggPlugin",
  21. "egg-plugin",
  22. "cors"
  23. ],
  24. "dependencies": {
  25. "@koa/cors": "^3.0.0"
  26. },
  27. "devDependencies": {
  28. "autod": "^3.0.1",
  29. "egg": "^2.11.2",
  30. "egg-bin": "^4.9.0",
  31. "egg-ci": "^1.9.2",
  32. "egg-mock": "^3.20.1",
  33. "egg-security": "^1.2.1",
  34. "eslint": "^5.6.1",
  35. "eslint-config-egg": "^7.1.0",
  36. "supertest": "^3.3.0"
  37. },
  38. "engines": {
  39. "node": ">=8.0.0"
  40. },
  41. "scripts": {
  42. "test": "npm run lint -- --fix && egg-bin pkgfiles && npm run test-local",
  43. "test-local": "egg-bin test",
  44. "cov": "egg-bin cov",
  45. "lint": "eslint .",
  46. "ci": "egg-bin pkgfiles --check && npm run lint && npm run cov",
  47. "autod": "autod"
  48. },
  49. "bug": {
  50. "url": "https://github.com/eggjs/egg/issues"
  51. },
  52. "ci": {
  53. "version": "8, 10, 12"
  54. },
  55. "author": "dead_horse"
  56. }