Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
Run tests before every commit
Browse files Browse the repository at this point in the history
  • Loading branch information
developer239 committed Apr 24, 2019
1 parent fa13c9e commit c6635c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"format": "prettier --write '*/**/*.{js,css,md,json}'",
"lint:js": "eslint . --ignore-path .gitignore --fix",
"lint:css": "stylelint 'src/**/*.js'",
"test:staged": "cross-env CI=true react-scripts test --env=jsdom --findRelatedTests",
"cypress:open": "cypress open"
},
"jest": {
Expand All @@ -23,6 +24,7 @@
},
"lint-staged": {
"*.js": [
"test:staged",
"eslint --fix",
"prettier --write",
"stylelint",
Expand Down

0 comments on commit c6635c0

Please sign in to comment.