style(eslint): add yarn lint and fix codestyle

This commit is contained in:
iam4x
2017-12-04 09:49:06 +01:00
parent 317e98bde0
commit e344fdd5f6
2 changed files with 14 additions and 21 deletions

View File

@@ -18,7 +18,8 @@
"license": "MIT",
"scripts": {
"build": "rm -rf dist && babel src -d dist",
"prepublish": "npm run build"
"prepublish": "npm run build",
"lint": "eslint src"
},
"devDependencies": {
"babel-cli": "^6.26.0",