2.0.4 • Published 3 years ago

commander-gulp-templates v2.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

Commander Gulp Templates Dynamic

commander: version (tag) gulp: version (tag) MIT License npm: version (tag) node: version (tag

Instalación

$ npm install commander-gulp-templates

Comando a ejecutar

  • Comando para Developer
$ commander-gulp-templates templates 'entry' --t 'ouput' 
  • Comando para Producción
$ commander-gulp-templates prod:templates 'entry' --t 'ouput' 

Configuración por el package.json

 "scripts": {
    "templates": "commander-gulp-templates templates \"frontend/src/templates/*.pug\" \"frontend/src/templates/**/*.pug\"  \"frontend/src/mail/**/*.pug\" \"frontend/src/mail/*.pug\" --t \"docs/\"",
    "prod:templates": "commander-gulp-templates prod:templates \"frontend/src/templates/*.pug\" \"frontend/src/templates/**/*.pug\"  \"frontend/src/mail/**/*.pug\" \"frontend/src/mail/*.pug\" --t \"docs/\"",
  }

Link

https://jugaz.github.io/commander-gulp-templates/