Skip to content

Commit

Permalink
feat: running scripts in parallel with npm-run-all
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio Tetsuo committed Jun 9, 2020
1 parent d22bffe commit 2c3ab0d
Show file tree
Hide file tree
Showing 2 changed files with 216 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|json)\" \"!package.json\"",
"format": "yarn run prettier --write",
"check-format": "yarn run prettier --list-different",
"validate": "yarn run check-format && yarn run lint"
"validate": "npm-run-all --parallel check-format lint"
},
"dependencies": {
"jest": "^26.0.1",
Expand All @@ -30,6 +30,7 @@
"devDependencies": {
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5"
}
}
Loading

0 comments on commit 2c3ab0d

Please sign in to comment.