File tree Expand file tree Collapse file tree 2 files changed +4
-17
lines changed
Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 1- #! /bin/sh
2- . " $( dirname " $0 " ) /_/husky.sh"
1+ pnpm run check-all
32
4- echo ' - Checking your Typescript code ...'
5- pnpm run check-types ||
6- (
7- echo ' ❌ Typescript Check Failed.' ;
8- false ;
9- )
3+ pnpm test
104
11- echo ' - Running your tests ...'
12- pnpm test ||
13- (
14- echo ' ❌ Your Tests Failed.' ;
15- false ;
16- )
17-
18- echo ' - Checking your code ...'
195pnpm lint-staged
Original file line number Diff line number Diff line change 11{
22 "name" : " raminrezaei" ,
3- "version" : " 5.1.2 " ,
3+ "version" : " 5.2.0 " ,
44 "private" : true ,
55 "scripts" : {
66 "lighthouse" : " lighthouse http://localhost:3000 --output html --output-path ./lighthouse-report.html --chrome-flags=\" --headless\" " ,
1616 "lint" : " eslint . --fix" ,
1717 "build" : " next build" ,
1818 "start" : " next start" ,
19+ "prepare" : " husky" ,
1920 "test" : " jest"
2021 },
2122 "dependencies" : {
You can’t perform that action at this time.
0 commit comments