hunk.code_window:   let currentNumberOfDistFiles = 0;
     return Promise.resolve()
       .then(() => ng('build'))
       .then(() => oldNumberOfFiles = readdirSync('dist').length)
       .then(() => ng('generate', 'module', 'lazy'))
       .then(() => addImportToModule('src/app/app.module.ts', oneLine`
  
hunk.labels: keep keep keep keep keep replace keep
hunk.after_edit:     .then(() => ng('generate', 'module', 'lazy', '--routing'))
  
hunk.file_path: tests/e2e/tests/misc/lazy-module.ts
hunk.type: replace
file: /* jshint node: true */
  'use strict';
  
  const config = require('./models/config');
  
  module.exports = {
    name: 'ng2',
  
    config: function () {
      this.project.ngConfig = this.project.ngConfig || config.CliConfig.fromProject().config;
    },
  
    includedCommands: function () {
      return {
        'build': require('./commands/build').default,
        'serve': require('./commands/serve').default,
        'new': require('./commands/new').default,
        'generate': require('./commands/generate').default,
        'init': require('./commands/init').default,
        'test': require('./commands/test').default,
        'e2e': require('./commands/e2e').default,
        'lint': require('./commands/lint').default,
        'version': require('./commands/version').default,
        'completion': require('./commands/completion').default,
        'doc': require('./commands/doc').default,
        'github-pages-deploy': require('./commands/github-pages-deploy').default,
  
        // Easter eggs.
        'make-this-awesome': require('./commands/easter-egg').default,
  
        // Configuration.
        'set': require('./commands/set').default,
        'get': require('./commands/get').default
      };
    }
  };
  