Skip to content

Commit f494a84

Browse files
committed
Update packages.
1 parent a5c753b commit f494a84

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

Diff for: package-lock.json

+38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"ci": "npm run lint && npm run test -- --coverage",
1010
"codecov": "codecov"
1111
},
12+
"pre-commit": [
13+
"lint",
14+
"test"
15+
],
1216
"repository": {
1317
"type": "git",
1418
"url": "git+https://github.com/trekhleb/javascript-algorithms.git"
@@ -39,7 +43,8 @@
3943
"eslint-plugin-jest": "^21.15.1",
4044
"eslint-plugin-jsx-a11y": "^6.0.3",
4145
"eslint-plugin-react": "^7.7.0",
42-
"jest": "^22.4.3"
46+
"jest": "^22.4.3",
47+
"pre-commit": "^1.2.2"
4348
},
4449
"dependencies": {}
4550
}

0 commit comments

Comments
 (0)