diff --git a/package.json b/package.json index d6d67ac..c5601d5 100644 --- a/package.json +++ b/package.json @@ -19,13 +19,14 @@ }, "homepage": "https://github.com/squatconf/website", "dependencies": { - "ecstatic": "^1.4.0", "handlebars": "^4.0.5", - "nodemon": "^1.9.1", "remarkable": "^1.6.2" }, "scripts": { "build": "node ./scripts/build.js", "watch": "nodemon -w src -e md,hbs -x npm run build" + }, + "devDependencies": { + "nodemon": "^1.9.1" } } diff --git a/server.js b/server.js deleted file mode 100644 index 7e97549..0000000 --- a/server.js +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env node - -var ecstatic = require('ecstatic') - , port = 8000 - , app = require('http').createServer( - ecstatic({ root: __dirname + '/public' }) - ).listen(port, function () { - console.log('Listening on http://localhost:' + port) - }) -; - -process.on('uncaughtException', function (err) { - console.error('Error at:', new Date) - console.error(err.stack) -})