Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _yeomanGenerator = _interopRequireDefault(require("yeoman-generator"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

class ServerGenerator extends _yeomanGenerator.default {
  writing() {
    this.fs.copy(this.templatePath('Dockerfile'), this.destinationPath('Dockerfile'));
    this.fs.copy(this.templatePath('gulpfile.js'), this.destinationPath('gulpfile.js'));
    this.fs.copy(this.templatePath('src'), this.destinationPath('src'));
    this.fs.copy(this.templatePath('public'), this.destinationPath('public'));
    this.fs.copyTpl(this.templatePath('src/banner.txt'), this.destinationPath('src/banner.txt'), this.options);
    this.fs.extendJSON(this.destinationPath('package.json'), this.fs.readJSON(this.templatePath('package.json')));
  }

}

var _default = ServerGenerator;
exports.default = _default;
module.exports = ServerGenerator;