Skip to content

Commit f7b3fe5

Browse files
committed
chore: update git hook
1 parent e8c2d42 commit f7b3fe5

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
npm run lint:hooks
2-
npm run test:hooks
1+
npm run lint
2+
npm run test

.husky/pre-push

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
npm run lint:hooks
2-
npm run test:hooks
3-
npm run test:e2e

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
"prepare": "husky",
99
"build": "nx run-many -t build",
1010
"lint": "nx run-many -t lint",
11-
"lint:hooks": "npm run lint && npm --prefix web run lint",
1211
"test": "nx run-many -t test",
13-
"test:hooks": "npm run test",
1412
"test:watch": "nx run-many -t test --watch",
1513
"test:coverage": "nx run-many -t test --coverage",
1614
"test:e2e": "jest --config e2e/jest.config.js"

0 commit comments

Comments
 (0)