Skip to content

Commit

Permalink
Update yo-gen to 0.22.5 and related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiemonge committed Feb 17, 2016
1 parent c164659 commit 3a93e78
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions generators/app/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';
var yeoman = require('yeoman-generator');
var generators = require('yeoman-generator');

module.exports = yeoman.generators.Base.extend({
module.exports = generators.Base.extend({
constructor: function () {
yeoman.generators.Base.apply(this, arguments);
generators.Base.apply(this, arguments);

this.option('ui', {
desc: 'Choose your style of DSL (bdd, tdd, qunit, or exports)',
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@
"mocha"
],
"dependencies": {
"yeoman-generator": "^0.19.2"
"yeoman-generator": "^0.22.5"
},
"devDependencies": {
"mocha": "*"
"mocha": "*",
"yeoman-assert": "^2.1.1",
"yeoman-test": "^1.1.0"
}
}
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*global describe, beforeEach, it*/
'use strict';
var path = require('path');
var assert = require('yeoman-generator').assert;
var helpers = require('yeoman-generator').test;
var helpers = require('yeoman-test');
var assert = require('yeoman-assert');

describe('mocha:app', function () {
beforeEach(function (done) {
Expand Down

0 comments on commit 3a93e78

Please sign in to comment.