Skip to content

Commit

Permalink
fix: add dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 28, 2018
1 parent 3310e4d commit 98ea830
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/generators/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,17 +305,21 @@ class App extends Generator {
'nps',
'nps-utils',
'husky',
'eslint',
]
if (this.mocha) {
if (this.type !== 'multi') devDependencies.push('@dxcli/engine')
devDependencies.push('@dxcli/dev-test')
}
devDependencies.push(
'@dxcli/dev-test',
'mocha',
'chai',
)
if (this.ts) {
devDependencies.push('@dxcli/config')
devDependencies.push(
'@dxcli/config',
'typescript',
)
}
if (this.type === 'multi') {
dependencies.push(
Expand Down

0 comments on commit 98ea830

Please sign in to comment.