Skip to content

Commit

Permalink
chore: Removed simple-git-hooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
sprout2000 committed Aug 24, 2021
1 parent 8ab2438 commit b4e2d23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
yarn lint
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@
"package": "run-s clean build build:unsign",
"package:appx": "run-s clean build build:appx",
"package:darwin": "run-s clean build build:darwin",
"prepare": "simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "yarn lint"
"prepare": "git config --local core.hooksPath .githooks"
},
"dependencies": {
"electron-log": "^4.4.1",
Expand Down Expand Up @@ -79,7 +76,6 @@
"rimraf": "^3.0.2",
"sass": "^1.38.1",
"sass-loader": "^12.1.0",
"simple-git-hooks": "^2.6.1",
"ts-loader": "^9.2.5",
"ts-node": "^10.2.1",
"typescript": "^4.3.5",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3844,11 +3844,6 @@ signal-exit@^3.0.2, signal-exit@^3.0.3:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==

simple-git-hooks@^2.6.1:
version "2.6.1"
resolved "https://registry.yarnpkg.com/simple-git-hooks/-/simple-git-hooks-2.6.1.tgz#0843d7ad7d3be3bb877b86f218d0abea87611584"
integrity sha512-nvqaNfgvcjN3cGSYJSdjwB+tP8YKRCyvuUvQ24luIjIpGhUCPpZDTJ+p+hcJiwc0lZlTCl0NayfBVDoIMG7Jpg==

slash@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
Expand Down

0 comments on commit b4e2d23

Please sign in to comment.