dustinspecker/generator-ng-poly

View on GitHub
lib/constant/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('constant'),
      this.copyUnitTest('constant')
    ]);
  }
});