File tree Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change
1
+ _
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npx commitlint --edit $1
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npm run lint:dts && npm run test:ci && npx lint-staged
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 12
12
"lint" : " eslint --ignore-path .gitignore --ignore-pattern /examples/ ." ,
13
13
"lint:dts" : " dtslint ." ,
14
14
"lint:fix" : " npm run lint -- --fix" ,
15
- "prepublishOnly" : " npm run lint && npm run lint:dts && npm run test:ci && npm run clean && npm run build" ,
15
+ "postinstall" : " husky install" ,
16
+ "postpublish" : " pinst --enable" ,
17
+ "prepublishOnly" : " pinst --disable && npm run lint && npm run lint:dts && npm run test:ci && npm run clean && npm run build" ,
16
18
"release" : " standard-version --no-verify" ,
17
19
"test" : " jest --coverage --testPathIgnorePatterns test/integration/" ,
18
20
"test:ci" : " npm test -- --ci" ,
51
53
"dtslint" : " ^4.0.6" ,
52
54
"eslint" : " ^7.15.0" ,
53
55
"eslint-plugin-prettier" : " ^3.3.0" ,
54
- "husky" : " ^4.3.6 " ,
56
+ "husky" : " ^5.1.1 " ,
55
57
"jest" : " ^26.6.3" ,
56
58
"lint-staged" : " ^10.5.3" ,
59
+ "pinst" : " ^2.1.6" ,
57
60
"preact" : " ^10.5.7" ,
58
61
"prettier" : " ^2.2.1" ,
59
62
"react" : " ^17" ,
You can’t perform that action at this time.
0 commit comments