UNPKG

generator-ngfs

Version:

Yeoman generator for creating MEAN stack applications, using MongoDB, Express, AngularJS, and Node

20 lines (15 loc) 433 B
'use strict'; var util = require('util'); var ScriptBase = require('../script-base.js'); var Generator = module.exports = function Generator() { ScriptBase.apply(this, arguments); }; util.inherits(Generator, ScriptBase); Generator.prototype.createServiceFiles = function createServiceFiles() { this.generateSourceAndTest( 'service/value', 'spec/service', 'services', this.options['skip-add'] || false ); };