/server/node_modules/supervisor/package.json

https://github.com/debdayal/TestApp · JSON · 92 lines · 92 code · 0 blank · 0 comment · 0 complexity · 2b86a0e20850a60af11a488c17af6906 MD5 · raw file

  1. {
  2. "name": "supervisor",
  3. "version": "0.4.1",
  4. "description": "A supervisor program for running nodejs programs",
  5. "author": {
  6. "name": "Isaac Z. Schlueter",
  7. "email": "i@izs.me"
  8. },
  9. "contributors": [
  10. {
  11. "name": "Todd Branchflower",
  12. "email": "toddbran@stanford.edu"
  13. },
  14. {
  15. "name": "Brian Ehmann",
  16. "email": "behmann@gmail.com"
  17. },
  18. {
  19. "name": "Corey Jewett",
  20. "email": "cj@syntheticplayground.com"
  21. },
  22. {
  23. "name": "Taka Kojima",
  24. "email": "taka.kojima@ff0000.com"
  25. },
  26. {
  27. "name": "Jonathan 'Wolf' Rentzsch",
  28. "email": "jwr.git@redshed.net"
  29. },
  30. {
  31. "name": "Scott Sanders",
  32. "email": "scott@stonecobra.com"
  33. },
  34. {
  35. "name": "Fernando H. Silva",
  36. "email": "ferhensil@gmail.com"
  37. },
  38. {
  39. "name": "David Taylor",
  40. "email": "david@zensatellite.com"
  41. },
  42. {
  43. "name": "Antonio Touriño",
  44. "email": "atourino@gmail.com"
  45. },
  46. {
  47. "name": "Oliver Wong",
  48. "email": "oliver@owiber.com"
  49. },
  50. {
  51. "name": "Ian Young",
  52. "email": "ian.greenleaf@gmail.com"
  53. },
  54. {
  55. "name": "Giannis Dzegoutanis",
  56. "email": "erasmospunk@gmail.com"
  57. },
  58. {
  59. "name": "jazzzz",
  60. "email": "jazzzz@gmail.com"
  61. },
  62. {
  63. "name": "rma4ok",
  64. "email": "rma4ok@gmail.com"
  65. }
  66. ],
  67. "repository": {
  68. "type": "git",
  69. "url": "git://github.com/isaacs/node-supervisor.git"
  70. },
  71. "bugs": {
  72. "url": "https://github.com/isaacs/node-supervisor/issues"
  73. },
  74. "homepage": "https://github.com/isaacs/node-supervisor/",
  75. "main": "lib/supervisor.js",
  76. "bin": {
  77. "node-supervisor": "lib/cli-wrapper.js",
  78. "supervisor": "lib/cli-wrapper.js"
  79. },
  80. "engines": {
  81. "node": ">=0.3.7 <0.9"
  82. },
  83. "preferGlobal": true,
  84. "readme": "# node-supervisor\n\nA little supervisor script for nodejs. It runs your program, and\nwatches for code changes, so you can have hot-code reloading-ish\nbehavior, without worrying about memory leaks and making sure you\nclean up all the inter-module references, and without a whole new\n`require` system.\n\n## node-supervisor -?\n\n\n Node Supervisor is used to restart programs when they crash.\n It can also be used to restart programs when a *.js file changes.\n\n Usage:\n supervisor [options] <program>\n supervisor [options] -- <program> [args ...]\n\n Required:\n <program>\n The program to run.\n\n Options:\n -w|--watch <watchItems>\n A comma-delimited list of folders or js files to watch for changes.\n When a change to a js file occurs, reload the program\n Default is '.'\n\n -e|--extensions <extensions>\n Specific file extensions to watch in addition to defaults.\n Used when --watch option includes folders\n Default is 'node|js'\n\n -x|--exec <executable>\n The executable that runs the specified program.\n Default is 'node'\n\n -n|--no-restart-on error|exit\n Don't automatically restart the supervised program if it ends.\n Supervisor will wait for a change in the source files.\n If \"error\", an exit code of 0 will still restart.\n If \"exit\", no restart regardless of exit code.\n\n -h|--help|-?\n Display these usage instructions.\n\n -q|--quiet\n Suppress DEBUG messages\n\n Examples:\n supervisor myapp.js\n supervisor myapp.coffee\n supervisor -w scripts -e myext -x myrunner myapp\n supervisor -w lib,server.js,config.js server.js\n supervisor -- server.js -h host -p port\n\n\n## Simple Install\n\nInstall npm, and then do this:\n\n npm install supervisor -g\n\nYou don't even need to download or fork this repo at all.\n\n## Fancy Install\n\nGet this code, install npm, and then do this:\n\n npm link\n\n## todo\n\n1. Re-attach to a process by pid. If the supervisor is\nbackgrounded, and then disowned, the child will keep running. At\nthat point, the supervisor may be killed, but the child will keep\non running. It'd be nice to have two supervisors that kept each\nother up, and could also perhaps run a child program.\n2. Run more types of programs than just \"node blargh.js\".\n3. Be able to run more than one program, so that you can have two\nsupervisors supervise each other, and then also keep some child\nserver up.\n4. When watching, it'd be good to perhaps bring up a new child\nand then kill the old one gently, rather than just crashing the\nchild abruptly.\n5. Keep the pid in a safe place, so another supervisor can pull\nit out if told to supervise the same program.\n6. It'd be pretty cool if this program could be run just like\ndoing `node blah.js`, but could somehow \"know\" which files had\nbeen loaded, and restart whenever a touched file changes.\n",
  85. "readmeFilename": "README.md",
  86. "_id": "supervisor@0.4.1",
  87. "dist": {
  88. "shasum": "585d9bec883e6fc78c9fe3cd93267d2e68784357"
  89. },
  90. "_from": "supervisor@~0.4.1",
  91. "_resolved": "https://registry.npmjs.org/supervisor/-/supervisor-0.4.1.tgz"
  92. }