Skip to content

Commit

Permalink
fix: add nyc config
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 30, 2018
1 parent e6d43bd commit 73b448b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/generators/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ class App extends Generator {
'mocha',
'mocha-junit-reporter',
'chai',
'@dxcli/nyc-config',
)
if (this.type !== 'base') devDependencies.push(
'@dxcli/test',
Expand Down Expand Up @@ -386,12 +385,9 @@ class App extends Generator {
return _([
'*-debug.log',
'*-error.log',
'/coverage.lcov',
'/coverage',
'/node_modules',
'/tmp',
this.ts && '/lib',
this.mocha && '/.nyc_output',
])
.concat(existing)
.compact()
Expand Down
2 changes: 1 addition & 1 deletion templates/scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [[ "$CLI_ENGINE_GREENKEEPER_BRANCH" == 1 ]]; then
greenkeeper-lockfile-upload
fi

yarn add nyc @dxcli/nyc-config
yarn add -D nyc @dxcli/nyc-config
yarn test

curl -s https://codecov.io/bash | bash

0 comments on commit 73b448b

Please sign in to comment.