Skip to content

Commit c76b0b1

Browse files
committed
fix(build): resolve install husky script and omit release dir npm package
1 parent 620ab9a commit c76b0b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
.git
22
.idea
33
.circleci
4+
.husky
45
.github
56
configurations/
67
demo/
8+
release/
79
scripts/
810
src/
911
.browserslistrc

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
],
3131
"scripts": {
3232
"authors": "node ./scripts/authors.js",
33-
"postinstall": "husky install",
34-
"prepare": "npm run build && npm run authors",
33+
"prepare": "husky install && npm run build && npm run authors",
3534
"prepublishOnly": "npm test && npm run lint",
3635
"preversion": "npm run lint",
3736
"postversion": "git push && git push --tags",

0 commit comments

Comments
 (0)