dustinspecker/generator-ng-poly

View on GitHub
lib/service/index.js

Summary

Maintainability
A
2 hrs
Test Coverage
'use strict';
import 'babel-polyfill';
import genBase from '../genBase';

module.exports = genBase.extend({
  prompting() {
    return this.askForModuleName();
  },

  writing() {
    return Promise.all([
      this.copySrcFile('service'),
      this.copyUnitTest('service')
    ]);
  }
});