{
  "name": "textreader",
  "preferGlobal": true,
  "version": "0.0.1",
  "author": "Caroline Mimeault <carolinemimeault@gmail.com>",
  "description": "A text to speech server",
  "contributors": ["Mike Williamson <mike@korora.ca>"],
  "bin": {},
  "scripts": {},
  "main": "server.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/caromimo/textreader"
  },
  "dependencies": {
    "express":"*",
    "jade":"*"
  },
  "devDependencies": {
    "jshint": "*",
    "grunt": "*",
    "grunt-cli": "*",
    "grunt-contrib-jshint": "*",
    "grunt-jasmine-node": "*",
    "grunt-contrib-watch": "*",
    "request": "*",
    "tmp": "*"
  },
  "bundledDependencies": [],
  "license": "MIT",
  "engines": {
    "node": ">=0.6"
  }
}

{
  "name": "textreader",
  "preferGlobal": true,
  "version": "0.0.1",
  "author": "Caroline Mimeault <carolinemimeault@gmail.com>",
  "description": "A text to speech server",
  "contributors": ["Mike Williamson <mike@korora.ca>"],
  "bin": {},
  "scripts": {
    "install-windows-service": "winser -i",
    "uninstall-windows-service": "winser -r"
  },
  "main": "server.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/caromimo/textreader"
  },
  "dependencies": {
    "express":"*",
    "jade":"*"
  },
  "devDependencies": {
    "jshint": "*",
    "grunt": "*",
    "grunt-cli": "*",
    "grunt-contrib-jshint": "*",
    "grunt-jasmine-node": "*",
    "grunt-contrib-watch": "*",
    "request": "*",
    "tmp": "*",
    "winser": "*"
  },
  "bundledDependencies": [],
  "license": "MIT",
  "engines": {
    "node": ">=0.6"
  }
}

Add winser to create a windows service.
Add winser to create a windows service.

The service install script can be run like this:

npm run-script install-windows-service

or to uninstall:

npm run-script uninstall-windows-service

Winser is a wrapper around nssm.
