Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactored to include check for devDependencies in package.json #20

Merged

Conversation

coyotebringsfire
Copy link
Contributor

this PR updates the package.json template to add the mocha and chai/should dependencies as devDependencies rather than dependencies. the unit tests were also refactored to check for the presence of devDependencies in package.json

Wencelaus:generator-test aumkara$ npm test

> generator-test@2.0.2 test /Users/aumkara/workspace/generator-test
> mocha

(node) child_process: options.customFds option is deprecated. Use options.stdio instead.


     _-----_
    |       |
    |--(o)--|   .--------------------------.
   `---------´  |    Welcome to Yeoman,    |
    ( _´U`_ )   |   ladies and gentlemen!  |
    /___A___\   '__________________________'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

   create index.html
   create spec/algorithm.js
   create bower.json
   create .bowerrc
   create algorithm.js
Everything is ready!

     _-----_
    |       |
    |--(o)--|   .--------------------------.
   `---------´  |    Welcome to Yeoman,    |
    ( _´U`_ )   |   ladies and gentlemen!  |
    /___A___\   '__________________________'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

   create index.html
   create spec/myAlgo.js
   create bower.json
   create .bowerrc
Everything is ready!
․․
     _-----_
    |       |
    |--(o)--|   .--------------------------.
   `---------´  |    Welcome to Yeoman,    |
    ( _´U`_ )   |   ladies and gentlemen!  |
    /___A___\   '__________________________'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

   create spec/algorithm.js
   create package.json
   create algorithm.js
Everything is ready!

     _-----_
    |       |
    |--(o)--|   .--------------------------.
   `---------´  |    Welcome to Yeoman,    |
    ( _´U`_ )   |   ladies and gentlemen!  |
    /___A___\   '__________________________'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

   create spec/algorithm.js
   create package.json
   create algorithm.js
Everything is ready!

     _-----_
    |       |
    |--(o)--|   .--------------------------.
   `---------´  |    Welcome to Yeoman,    |
    ( _´U`_ )   |   ladies and gentlemen!  |
    /___A___\   '__________________________'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

   create spec/algorithm.js
   create package.json
   create algorithm.js
Everything is ready!

     _-----_
    |       |
    |--(o)--|   .--------------------------.
   `---------´  |    Welcome to Yeoman,    |
    ( _´U`_ )   |   ladies and gentlemen!  |
    /___A___\   '__________________________'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

   create spec/myAlgo.js
   create package.json
Everything is ready!

     _-----_
    |       |
    |--(o)--|   .--------------------------.
   `---------´  |    Welcome to Yeoman,    |
    ( _´U`_ )   |   ladies and gentlemen!  |
    /___A___\   '__________________________'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

   create spec/myAlgo.js
   create package.json
Everything is ready!

     _-----_
    |       |
    |--(o)--|   .--------------------------.
   `---------´  |    Welcome to Yeoman,    |
    ( _´U`_ )   |   ladies and gentlemen!  |
    /___A___\   '__________________________'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

   create spec/myAlgo.js
   create package.json
Everything is ready!


  9 passing (311ms)

phillipalexander added a commit that referenced this pull request Dec 13, 2015
refactored to include check for devDependencies in package.json
@phillipalexander phillipalexander merged commit 15244a7 into phillipalexander:master Dec 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants