1
0
Fork 0

added `npm start` script (includes build)

2015
joates 10 years ago
parent 453bbfa09b
commit 5158475529

@ -1,9 +1,10 @@
{
"name": "squatconf-web",
"version": "0.1.0",
"version": "0.2.0",
"description": "website for the squatConf conference",
"main": "build.js",
"main": "server.js",
"scripts": {
"start": "echo -n 'building.. '; node build.js && node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {

@ -32,4 +32,5 @@ process.on('uncaughtException', function (err) {
})
server.listen(port)
console.log('server started on port '+ port)
console.log('['+ process.pid +'] server started on port '+ port)
console.log('(use ctrl+c to stop server)')

Loading…
Cancel
Save