Skip to content

Commit bd9168e

Browse files
authored
fix: run npm prepare to initialize husky hooks after project creation (#32)
1 parent 4e5c364 commit bd9168e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

saofile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ module.exports = {
107107
async completed() {
108108
this.gitInit()
109109
await this.npmInstall({ npmClient: this.answers.npmClient })
110+
await this.npmInstall({ npmClient: this.answers.npmClient, args: ['run', 'prepare'] })
110111
this.showProjectTips()
111112

112113
this.logger.tip('You\'re all setup. hack away!')

0 commit comments

Comments
 (0)