Node.js package start file not working
<p>so I have my package.json file like this:</p>

<pre><code>{
  "name": "chat_app",
  "version": "0.2.0",
  "description": "The second iteration of the chat app",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" &amp;&amp; exit 1",
    "start": "index.js"
  },
  "author": "Tino",
  "license": "MIT",
  "dependencies": {
    "express": "^4.14.0",
    "jade": "^1.11.0"
  },
  "devDependencies": {
    "gulp": "^3.9.1",
    "gulp-jade": "^1.1.0"
  }
}
</code></pre>

<p>Here is my index.js file:</p>

<pre><code>var app = require('express')(),
express = require('express'),
http = require('http').Server(app),
jade = require('gulp-jade');

app.use(express.static(path.join(__dirname, '/public')));
app.get('/', function(req, res) {
    res.sendfile(__dirname + '/index.html');
})

http.listen(3000, function() {
    console.log('listening on localhost:3000');
})
</code></pre>

<p>When I type: <code>node start</code> it does not work. Why is this? Much help is appreciated.</p>

<p>Thanks</p>