{
    "name": "SimpleChatServer",
    "version": "0.0.0",
    "main": "server.js",
    "scripts": {
        "test": "./node_modules/.bin/mocha tests"
    },
    "author": "",
    "license": "BSD-2-Clause",
    "dependencies": {
    },
    "devDependencies": {
        "mocha": "~1.21.4"
    }
}
{
  "name": "SimpleChatServer",
  "version": "0.0.0",
  "main": "server.js",
  "scripts": {
    "start": "node js/server.js",
    "test": "mocha tests",
    "forever": "forever start -a js/server.js"
  },
  "author": "",
  "license": "BSD-2-Clause",
  "dependencies": {},
  "devDependencies": {
    "forever": "^0.15.1",
    "mocha": "~1.21.4"
  }
}

ADD forever script as dev dependency
ADD forever script as dev dependency

Run with
npm run forever

Only start and test can be run with
npm start/test

For custom commands use
npm run <custom_command>
