Skip to content

Commit

Permalink
Lint and build before deploy (in npm script)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaVR committed Feb 17, 2019
1 parent 810875c commit 54505f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"build": "react-scripts build",
"test": "react-scripts test",
"lint": "tslint --project tsconfig.json",
"deploy": "firebase deploy"
"deploy": "yarn run lint && yarn run build && firebase deploy"
},
"browserslist": [
">0.2%",
Expand Down

0 comments on commit 54505f3

Please sign in to comment.