Merge pull request #2 from AverageMarcus/improved_dev_workflow

Improved developer workflow 🛠
This commit is contained in:
Marcus Noble 2017-10-08 15:30:49 +01:00 committed by GitHub
commit cd38b782e1
3 changed files with 7 additions and 2 deletions

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
8

2
app.js
View File

@ -119,6 +119,6 @@ Metalsmith(__dirname)
if (err) throw err;
app.listen(port, function () {
console.log(`App listening on port ${port}`);
console.log(`App listening at http://localhost:${port}`);
});
});

View File

@ -2,7 +2,8 @@
"private": true,
"main": "app.js",
"scripts": {
"start": "node app.js"
"start": "node app.js",
"watch": "nodemon --exec npm start -e \"md,html,scss,js\" -i \"build\""
},
"dependencies": {
"compression": "^1.6.2",
@ -23,6 +24,9 @@
"moment": "^2.13.0",
"striptags": "^2.1.1"
},
"devDependencies": {
"nodemon": "^1.12.1"
},
"engines": {
"node": "8"
}