Run eslint and flow in sequence

This commit is contained in:
Saúl Ibarra Corretgé 2018-05-24 17:02:26 +02:00
parent 923392cf0a
commit eb8a110daa
1 changed files with 2 additions and 4 deletions

View File

@ -7,15 +7,13 @@
"scripts": {
"start": "webpack --config ./webpack.config.js --mode development && electron ./build/main.js",
"clean": "rm -rf node_modules",
"lint": "eslint .",
"flow": "flow",
"lint": "eslint . && flow",
"pack": "webpack --config ./webpack.config.js --mode production && electron-packager .",
"postinstall": "electron-rebuild",
"validate": "npm ls"
},
"pre-commit": [
"lint",
"flow"
"lint"
],
"repository": {
"type": "git",