package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "egg-security",
  3. "version": "2.11.0",
  4. "description": "security plugin in egg framework",
  5. "eggPlugin": {
  6. "name": "security",
  7. "optionalDependencies": [
  8. "session"
  9. ]
  10. },
  11. "keywords": [
  12. "egg",
  13. "eggPlugin",
  14. "egg-plugin",
  15. "security"
  16. ],
  17. "dependencies": {
  18. "csrf": "^3.0.6",
  19. "debug": "^4.1.1",
  20. "delegates": "^1.0.0",
  21. "egg-path-matching": "^1.0.0",
  22. "escape-html": "^1.0.3",
  23. "extend": "^3.0.1",
  24. "ip": "^1.1.5",
  25. "koa-compose": "^4.0.0",
  26. "matcher": "^1.1.1",
  27. "methods": "^1.1.2",
  28. "nanoid": "^3.3.2",
  29. "platform": "^1.3.4",
  30. "statuses": "^1.5.0",
  31. "type-is": "^1.6.15",
  32. "xss": "^1.0.3"
  33. },
  34. "devDependencies": {
  35. "autod": "^3.0.1",
  36. "beautify-benchmark": "^0.2.4",
  37. "benchmark": "^2.1.4",
  38. "egg": "^2.16.0",
  39. "egg-bin": "^4.3.5",
  40. "egg-ci": "^1.8.0",
  41. "egg-mock": "^3.13.1",
  42. "egg-view-nunjucks": "^2.1.4",
  43. "eslint": "^5.15.1",
  44. "eslint-config-egg": "^7.1.0",
  45. "git-contributor": "^1.0.10",
  46. "mz-modules": "^2.1.0",
  47. "pedding": "^1.1.0",
  48. "rimraf": "^2.6.2",
  49. "should": "^13.1.3",
  50. "should-http": "^0.1.1",
  51. "spy": "^1.0.0",
  52. "supertest": "^3.0.0"
  53. },
  54. "engines": {
  55. "node": ">=8.0.0"
  56. },
  57. "scripts": {
  58. "lint": "eslint .",
  59. "test": "npm run lint -- --fix && npm run test-local",
  60. "test-local": "egg-bin test",
  61. "cov": "egg-bin cov",
  62. "ci": "npm run lint && npm run cov",
  63. "autod": "autod",
  64. "contributor": "git-contributor"
  65. },
  66. "ci": {
  67. "version": "8, 10, 12, 14, 16",
  68. "type": "github"
  69. },
  70. "repository": {
  71. "type": "git",
  72. "url": "git+https://github.com/eggjs/egg-security.git"
  73. },
  74. "files": [
  75. "agent.js",
  76. "app",
  77. "lib",
  78. "config",
  79. "app.js",
  80. "index.js"
  81. ],
  82. "bugs": {
  83. "url": "https://github.com/eggjs/egg/issues"
  84. },
  85. "homepage": "https://github.com/eggjs/egg-security#readme",
  86. "author": "jtyjty99999",
  87. "license": "MIT"
  88. }