Skip to content

Commit

Permalink
fix: use name in concurrently
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 2, 2018
1 parent 4095dbc commit 1384b55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generators/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ class App extends Generator {
this.pjson.scripts.posttest = 'yarn run lint'
// this.pjson.scripts.precommit = 'yarn run lint'
if (this.ts && this.mocha) {
this.pjson.scripts.lint = 'concurrently "eslint ." "tsc -p test --noEmit" "tslint -p test"'
this.pjson.scripts.lint = 'concurrently -p command "eslint ." "tsc -p test --noEmit" "tslint -p test"'
} else if (this.ts) {
this.pjson.scripts.lint = 'concurrently "eslint ." "tsc -p . --noEmit" "tslint -p ."'
this.pjson.scripts.lint = 'concurrently -p command "eslint ." "tsc -p . --noEmit" "tslint -p ."'
} else {
this.pjson.scripts.lint = 'eslint .'
}
Expand Down

0 comments on commit 1384b55

Please sign in to comment.