Skip to content

Commit

Permalink
fix: add dev deps for single
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 28, 2018
1 parent 4500eed commit efc07dc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/generators/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ class App extends Generator {
'@dxcli/command',
'cli-ux',
)
devDependencies.push(
'@dxcli/engine',
)
break
case 'plugin':
dependencies.push(
Expand All @@ -342,11 +345,16 @@ class App extends Generator {
devDependencies.push('mocha', 'chai')
if (this.type !== 'base') devDependencies.push(
'@dxcli/dev-test',
'@dxcli/tslint',
)
}
if (this.semantic_release) devDependencies.push('@dxcli/semantic-release')
if (this.ts) devDependencies.push('typescript', 'ts-node')
if (this.ts) {
devDependencies.push(
'typescript',
'ts-node',
'@dxcli/tslint',
)
}
Promise.all([
this.yarnInstall(devDependencies, {dev: true, ignoreScripts: true}),
this.yarnInstall(dependencies),
Expand Down

0 comments on commit efc07dc

Please sign in to comment.