Skip to content

Commit 3ad13d2

Browse files
committed
refactor: changed package prepare scripts
1 parent 1737ab5 commit 3ad13d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
"build": "lerna run build",
2626
"lint": "eslint --ignore-path .gitignore --fix",
2727
"lint-all": "yarn run lint --ext .js,.jsx,.vue .",
28-
"prepare": "husky install && yarn run build",
28+
"prepare": "husky install",
2929
"pre-commit": "lint-staged",
3030
"commit-msg": "npx --no-install commitlint --edit \"$1\"",
31-
"publish": "lerna publish",
31+
"publish": "lerna run build && lerna publish",
3232
"publish-prerelease": "yarn run publish --conventional-prerelease",
3333
"publish-graduate": "yarn run publish --conventional-graduate"
3434
},

0 commit comments

Comments
 (0)