package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "stoppable",
  3. "version": "1.1.0",
  4. "engines": {
  5. "node": ">=4",
  6. "npm": ">=6"
  7. },
  8. "keywords": [
  9. "server",
  10. "net",
  11. "connect",
  12. "socket",
  13. "connection",
  14. "stop",
  15. "close",
  16. "disconnect",
  17. "disconnection",
  18. "http",
  19. "https",
  20. "tcp"
  21. ],
  22. "files": [
  23. "lib"
  24. ],
  25. "repository": {
  26. "type": "git",
  27. "url": "git+https://github.com/hunterloftis/stoppable.git"
  28. },
  29. "homepage": "https://github.com/hunterloftis/stoppable",
  30. "scripts": {
  31. "lint": "standard --fix \"lib/**/*.js\" \"test/**/*.js\"",
  32. "spec": "nyc --check-coverage mocha --bail \"test/*.test.js\"",
  33. "test": "npm run lint && npm audit && npm run spec",
  34. "coverage": "nyc mocha --bail \"test/*.test.js\"",
  35. "perf:baseline": "node test/performance.js & sleep 2 && artillery quick -d 10 -r 1000 -o /dev/null -k http://localhost:8000",
  36. "perf:stoppable": "node test/performance.js 1 & sleep 2 && artillery quick -d 10 -r 1000 -o /dev/null -k http://localhost:8000"
  37. },
  38. "main": "lib/stoppable.js",
  39. "license": "MIT",
  40. "devDependencies": {
  41. "artillery": "^1.6.0-15",
  42. "awaiting": "^3.0.0",
  43. "chai": "^4.1.2",
  44. "mocha": "^5.0.5",
  45. "nyc": "^11.6.0",
  46. "requisition": "^1.7.0",
  47. "standard": "^11.0.1"
  48. }
  49. }