Skip to content

Commit

Permalink
Run linting and tests on git push
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashdoughty committed Nov 15, 2019
1 parent e492101 commit e157615
Show file tree
Hide file tree
Showing 2 changed files with 213 additions and 0 deletions.
207 changes: 207 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"eslint-config-nhsuk": "^0.16.0",
"html-loader": "^0.5.5",
"http-server": "^0.11.1",
"husky": "^3.0.9",
"jest": "^24.5.0",
"jest-environment-jsdom": "^24.5.0",
"jest-puppeteer": "^4.1.0",
Expand All @@ -56,5 +57,10 @@
"start-server-and-test": "^1.7.12",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0"
},
"husky": {
"hooks": {
"pre-push": "npm run lint && npm run test"
}
}
}

0 comments on commit e157615

Please sign in to comment.