diff --git a/README.md b/README.md index e92ba36..c9ad12a 100644 --- a/README.md +++ b/README.md @@ -57,23 +57,24 @@ When project is generated you will get project with that structure: ### How to use coveralls service with travis ci? -Active coveralls service for your repository. Then add following code to `.travis.yml`. +Activate coveralls service for your repository on https://coveralls.io. Then add following code to `.travis.yml`. ``` script: - npm test - - npm run compile after_success: - npm run coveralls ``` I tried to run `npm run coveralls` locally, and got `422` error. It might be a bug of coveralls. So if you want light on coverage icon, use coveralls service with travis ci. +If you do not want to use coveralls service, just delete coveralls relevant script and devDependencies in `package.json`. + ## License The MIT License (MIT) -Copyright © 2015 Eugene Obrezkov +Copyright © 2016 YangHuabei Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/index.js b/src/app/index.js index c2bf6c4..5cfc5da 100644 --- a/src/app/index.js +++ b/src/app/index.js @@ -49,7 +49,8 @@ const QUESTIONS = [ { type: 'confirm', name: 'runNPMInstall', - message: 'Do you want to run npm install after generated?' + message: 'Do you want to run npm install after generated?', + default: true } ];