Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 83b7bb9

Browse files
committed
test(config): added husky to test pre-commit
1 parent e1e5edb commit 83b7bb9

File tree

5 files changed

+445
-465
lines changed

5 files changed

+445
-465
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname $0)/_/husky.sh"
3+
4+
npm run test

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.vuegenerator
33
.eslintrc.js
44
.eslintignore
5+
.husky
56
netlify.toml
67
jest.config.js
78
babel.config.js

0 commit comments

Comments
 (0)