Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run style
npm run test
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"main": "",
"scripts": {
"test": "jest --no-cache",
"style": "standard"
"style": "standard",
"prepare": "husky install"
},
"author": "TheAlgorithms",
"license": "GPL-3.0",
Expand All @@ -27,6 +28,7 @@
"devDependencies": {
"babel-jest": "^26.3.0",
"globby": "^12.0.2",
"husky": "^7.0.4",
"jest": "^26.4.2",
"standard": "^16.0.4"
}
Expand Down