added prettier for js formatting. use 'npm run format'

This commit is contained in:
Danny Coates 2017-06-01 12:41:29 -07:00
parent 0f64dcad85
commit 57461ead7f
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 754 additions and 224 deletions

View file

@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "",
"scripts": {
"format": "prettier --single-quote --write 'public/*.js' 'app.js'",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node app.js"
},
@ -14,6 +15,7 @@
"express": "^4.15.3",
"fs-extra": "^3.0.1",
"path": "^0.12.7",
"prettier": "^1.3.1",
"redis": "^2.7.1"
}
}