refactor: es6 all the things!

This commit is contained in:
Khaled Garbaya
2017-09-20 12:02:27 +02:00
committed by Benedikt Rötsch
parent d1d580f288
commit dc3e8628f3
8 changed files with 94 additions and 48 deletions

View File

@@ -4,7 +4,9 @@
"private": true,
"scripts": {
"start:watch": "nodemon ./bin/www --ignore public/",
"start": "node ./bin/www"
"start": "node ./bin/www",
"lint": "eslint ./app.js routes",
"format": "eslint --fix . --ignore public node_modules"
},
"dependencies": {
"body-parser": "~1.15.2",
@@ -16,6 +18,10 @@
"serve-favicon": "~2.3.0"
},
"devDependencies": {
"nodemon": "^1.12.1"
"nodemon": "^1.12.1",
"eslint": "^3.16.0",
"eslint-config-standard": "^6.2.1",
"eslint-plugin-promise": "^3.4.2",
"eslint-plugin-standard": "^2.0.1"
}
}