{"version":3,"sources":["jsdelivr-header.js","/npm/generator-express-ts-crud@0.1.6/generators/app/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,MAAM,UAAY,QAAQ,oBACpB,MAAQ,QAAQ,SAChB,MAAQ,QAAQ,SAEtB,OAAO,QAAU,cAAc,UAC7B,SAAA,GAEE,KAAK,IAAI,MACP,0BAA4B,MAAM,IAAI,6BAA+B,eAczE,CAEA,OAAA,GACE,KAAK,GAAG,KACN,KAAK,aAAa,eAClB,KAAK,gBAAgB,gBAEvB,KAAK,GAAG,KACN,KAAK,aAAa,iBAClB,KAAK,gBAAgB,kBAEvB,KAAK,GAAG,KACN,KAAK,aAAa,gBAClB,KAAK,gBAAgB,iBAEvB,KAAK,GAAG,KACN,KAAK,aAAa,cAClB,KAAK,gBAAgB,eAEvB,KAAK,GAAG,KACN,KAAK,aAAa,gBAClB,KAAK,gBAAgB,iBAEvB,KAAK,GAAG,KACN,KAAK,aAAa,iBAClB,KAAK,gBAAgB,kBAEvB,KAAK,GAAG,KACN,KAAK,aAAa,0BAClB,KAAK,gBAAgB,2BAEvB,KAAK,GAAG,KACN,KAAK,aAAa,2BAClB,KAAK,gBAAgB,2BAEzB,CAEA,OAAA,GACE,KAAK,oBAAoB,CACvB,KAAK,EACL,OAAO,EACP,MAAM,GAEV","file":"/npm/generator-express-ts-crud@0.1.6/generators/app/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/generator-express-ts-crud@0.1.6/generators/app/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","'use strict';\nconst Generator = require('yeoman-generator');\nconst chalk = require('chalk');\nconst yosay = require('yosay');\n\nmodule.exports = class extends Generator {\n  prompting() {\n    // Have Yeoman greet the user.\n    this.log(yosay(\n      'Welcome to the sublime ' + chalk.red('generator-express-ts-crud') + ' generator!'\n    ));\n\n    // const prompts = [{\n    //   type: 'confirm',\n    //   name: 'someAnswer',\n    //   message: 'Would you like to enable this option?',\n    //   default: true\n    // }];\n\n    // return this.prompt(prompts).then(props => {\n    //   // To access props later use this.props.someAnswer;\n    //   this.props = props;\n    // });\n  }\n\n  writing() {\n    this.fs.copy(\n      this.templatePath('gulpfile.js'),\n      this.destinationPath('gulpfile.js')\n    );\n    this.fs.copy(\n      this.templatePath('tsconfig.json'),\n      this.destinationPath('tsconfig.json')\n    );\n    this.fs.copy(\n      this.templatePath('package.json'),\n      this.destinationPath('package.json')\n    );\n    this.fs.copy(\n      this.templatePath('src/app.ts'),\n      this.destinationPath('src/app.ts')\n    );\n    this.fs.copy(\n      this.templatePath('src/index.ts'),\n      this.destinationPath('src/index.ts')\n    );\n    this.fs.copy(\n      this.templatePath('src/config.ts'),\n      this.destinationPath('src/config.ts')\n    );\n    this.fs.copy(\n      this.templatePath('src/task/task.model.ts'),\n      this.destinationPath('src/task/task.model.ts')\n    );\n    this.fs.copy(\n      this.templatePath('src/task/task.router.ts'),\n      this.destinationPath('src/task/task.router.ts')\n    );\n  }\n\n  install() {\n    this.installDependencies({\n      npm: true,\n      bower: false,\n      yarn: false\n    });\n  }\n};\n"]}