File tree Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Expand file tree Collapse file tree 5 files changed +15
-9
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
+ 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 && 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
+ "prepublishOnly" : " pinst --disable && npm run lint && npm run lint:dts && npm run test:ci && npm run clean && npm run build" ,
16
16
"release" : " standard-version --no-verify" ,
17
17
"test" : " jest --coverage --testPathIgnorePatterns test/integration/" ,
18
18
"test:ci" : " npm test -- --ci" ,
19
19
"test:module" : " node --experimental-modules test/module/index.mjs" ,
20
20
"test:integration" : " npm run build && jest test/integration/" ,
21
- "test:watch" : " npm test -- --watch"
21
+ "test:watch" : " npm test -- --watch" ,
22
+ "postinstall" : " husky install" ,
23
+ "postpublish" : " pinst --enable"
22
24
},
23
25
"repository" : {
24
26
"type" : " git" ,
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