Skip to content

Commit

Permalink
Merge pull request #6 from immint023/feat/init-git-hooks
Browse files Browse the repository at this point in the history
feat: init git hooks
  • Loading branch information
mingo023 authored Oct 10, 2020
2 parents 0c5e595 + 2ec35cf commit e4c2290
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .githooks/pre-commit/prettier.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "Running prettier"
1 change: 1 addition & 0 deletions .githooks/pre-push/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "Running test"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
"bugs": {
"url": "https://github.com/immint023/pomodoro-extension/issues"
},
"homepage": "https://github.com/immint023/pomodoro-extension#readme"
"homepage": "https://github.com/immint023/pomodoro-extension#readme",
"devDependencies": {
"git-hooks-plus": "^1.0.1"
}
}
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


git-hooks-plus@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/git-hooks-plus/-/git-hooks-plus-1.0.1.tgz#db7d56abc52dcd907a3fe0e2ce46c5f086a04a37"
integrity sha512-IeIEuXySE+EklJieSIXLoFGLuF5ERutODXZz3UCiL1JAjpvZKNyl9j00iF67i5yfX3sKepS1AHN9d3KmUxgWnw==

0 comments on commit e4c2290

Please sign in to comment.