Skip to content

Commit 00e12dc

Browse files
authored
Merge pull request #58 from CodingZeal/features/run-yarn
Run yarn install after generating
2 parents 3d75407 + 70dce6e commit 00e12dc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ module.exports = class ReactZeal extends Generator {
4646
this._mergeGitIgnore()
4747
}
4848

49+
install() {
50+
this.installDependencies({
51+
yarn: true,
52+
npm: false,
53+
bower: false
54+
})
55+
}
56+
4957
_mergeGitIgnore() {
5058
const template = this.fs.read(this.templatePath('gitignore'))
5159
const existing = this.fs.read(this.destinationPath('.gitignore'), {

0 commit comments

Comments
 (0)