Skip to content

Commit

Permalink
chore: introduce husky to run test before each commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mkholjuraev committed Jan 3, 2023
1 parent da44097 commit d4436f7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
22 changes: 22 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-react": "^7.22.0",
"glob": "^7.1.6",
"husky": "^8.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"node-sass": "^7.0.1",
Expand Down Expand Up @@ -149,7 +150,8 @@
"translations:compile": "npx formatjs compile ./build/messages/src/Messages.json --out-file ./locales/en.json",
"test:ct": "BABEL_ENV=componentTest cypress run --component",
"test:openct": "cypress open --component",
"coverage": "bash coverage.sh"
"coverage": "bash coverage.sh",
"prepare": "husky install"
},
"release": {
"analyzeCommits": {
Expand Down

0 comments on commit d4436f7

Please sign in to comment.