You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.2 KiB

  1. {
  2. "name": "on-headers",
  3. "description": "Execute a listener when a response is about to write headers",
  4. "version": "1.0.2",
  5. "author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
  6. "license": "MIT",
  7. "keywords": [
  8. "event",
  9. "headers",
  10. "http",
  11. "onheaders"
  12. ],
  13. "repository": "jshttp/on-headers",
  14. "devDependencies": {
  15. "eslint": "5.14.1",
  16. "eslint-config-standard": "12.0.0",
  17. "eslint-plugin-import": "2.16.0",
  18. "eslint-plugin-markdown": "1.0.0",
  19. "eslint-plugin-node": "8.0.1",
  20. "eslint-plugin-promise": "4.0.1",
  21. "eslint-plugin-standard": "4.0.0",
  22. "istanbul": "0.4.5",
  23. "mocha": "6.0.1",
  24. "supertest": "3.4.2"
  25. },
  26. "files": [
  27. "LICENSE",
  28. "HISTORY.md",
  29. "README.md",
  30. "index.js"
  31. ],
  32. "engines": {
  33. "node": ">= 0.8"
  34. },
  35. "scripts": {
  36. "lint": "eslint --plugin markdown --ext js,md .",
  37. "test": "mocha --reporter spec --bail --check-leaks test/",
  38. "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
  39. "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
  40. "version": "node scripts/version-history.js && git add HISTORY.md"
  41. }
  42. }