package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "@koa/cors",
  3. "version": "3.4.1",
  4. "description": "Cross-Origin Resource Sharing(CORS) for koa",
  5. "main": "index.js",
  6. "files": [
  7. "index.js"
  8. ],
  9. "scripts": {
  10. "contributor": "git-contributor",
  11. "test": "NODE_ENV=test mocha --check-leaks -R spec -t 5000 test/*.test.js",
  12. "test-cov": "NODE_ENV=test istanbul cover _mocha -- --check-leaks -t 5000 test/*.test.js",
  13. "ci": "npm run lint && npm run test-cov",
  14. "lint": "eslint index.js test"
  15. },
  16. "dependencies": {
  17. "vary": "^1.1.2"
  18. },
  19. "devDependencies": {
  20. "egg-ci": "^1.19.1",
  21. "eslint": "^5.15.1",
  22. "eslint-config-egg": "^7.1.0",
  23. "git-contributor": "^1.0.10",
  24. "istanbul": "*",
  25. "koa": "^2.5.1",
  26. "mocha": "3",
  27. "supertest": "^3.1.0"
  28. },
  29. "homepage": "https://github.com/koajs/cors",
  30. "repository": {
  31. "type": "git",
  32. "url": "git://github.com/koajs/cors.git"
  33. },
  34. "bugs": {
  35. "url": "https://github.com/koajs/cors/issues"
  36. },
  37. "keywords": [
  38. "cors",
  39. "koa-cors",
  40. "Cross-Origin Resource Sharing",
  41. "@koa/cors",
  42. "koa",
  43. "koajs"
  44. ],
  45. "engines": {
  46. "node": ">= 8.0.0"
  47. },
  48. "ci": {
  49. "version": "8, 10, 12, 14, 16, 18",
  50. "type": "github",
  51. "os": {
  52. "github": "linux"
  53. }
  54. },
  55. "author": "fengmk2 <fengmk2@gmail.com> (http://github.com/fengmk2)",
  56. "license": "MIT"
  57. }