1
0
Fork 0
2016^2
gorhgorh 8 years ago
parent cef5714eeb
commit 7bab999c2b

@ -19,13 +19,14 @@
}, },
"homepage": "https://github.com/squatconf/website", "homepage": "https://github.com/squatconf/website",
"dependencies": { "dependencies": {
"ecstatic": "^1.4.0",
"handlebars": "^4.0.5", "handlebars": "^4.0.5",
"nodemon": "^1.9.1",
"remarkable": "^1.6.2" "remarkable": "^1.6.2"
}, },
"scripts": { "scripts": {
"build": "node ./scripts/build.js", "build": "node ./scripts/build.js",
"watch": "nodemon -w src -e md,hbs -x npm run build" "watch": "nodemon -w src -e md,hbs -x npm run build"
},
"devDependencies": {
"nodemon": "^1.9.1"
} }
} }

@ -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)
})
Loading…
Cancel
Save