package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "_from": "koa2-cors",
  3. "_id": "koa2-cors@2.0.6",
  4. "_inBundle": false,
  5. "_integrity": "sha512-JRCcSM4lamM+8kvKGDKlesYk2ASrmSTczDtGUnIadqMgnHU4Ct5Gw7Bxt3w3m6d6dy3WN0PU4oMP43HbddDEWg==",
  6. "_location": "/koa2-cors",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "tag",
  10. "registry": true,
  11. "raw": "koa2-cors",
  12. "name": "koa2-cors",
  13. "escapedName": "koa2-cors",
  14. "rawSpec": "",
  15. "saveSpec": null,
  16. "fetchSpec": "latest"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npmmirror.com/koa2-cors/-/koa2-cors-2.0.6.tgz",
  23. "_shasum": "9ad23df3a0b9bb84530b46f5944f3fb576086554",
  24. "_spec": "koa2-cors",
  25. "_where": "/Users/zhanwencai/code/game/congkong/webServer",
  26. "author": {
  27. "name": "zad"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/zadzbw/koa2-cors/issues"
  31. },
  32. "bundleDependencies": false,
  33. "deprecated": false,
  34. "description": "cors middleware for koa2",
  35. "devDependencies": {
  36. "babel-cli": "^6.18.0",
  37. "chai": "^4.1.2",
  38. "eslint": "^5.1.0",
  39. "eslint-config-airbnb-base": "^13.0.0",
  40. "eslint-plugin-import": "^2.13.0",
  41. "istanbul": "^1.1.0-alpha.1",
  42. "koa": "^2.5.2",
  43. "koa-router": "^7.4.0",
  44. "mocha": "^5.2.0",
  45. "supertest": "^3.1.0"
  46. },
  47. "engines": {
  48. "node": ">= 7.6.0"
  49. },
  50. "files": [
  51. "src/index.js",
  52. "dist/index.js"
  53. ],
  54. "homepage": "https://github.com/zadzbw/koa2-cors#readme",
  55. "keywords": [
  56. "koa2",
  57. "cors",
  58. "middleware"
  59. ],
  60. "license": "MIT",
  61. "main": "dist/index.js",
  62. "name": "koa2-cors",
  63. "repository": {
  64. "type": "git",
  65. "url": "git+https://github.com/zadzbw/koa2-cors.git"
  66. },
  67. "scripts": {
  68. "build": "NODE_ENV=production rm -rf dist & babel src -d dist",
  69. "lint": "eslint --ext .js src --format codeframe",
  70. "test": "NODE_ENV=test mocha",
  71. "test:cover": "NODE_ENV=test istanbul cover _mocha"
  72. },
  73. "version": "2.0.6"
  74. }