Skip to content

VTEX project generator based on Jade, PostCSS, BrowserSync, Browserify and others useful packages

Notifications You must be signed in to change notification settings

gabrielpaivadev/generator-vtex-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#VTEX Generator

Yeoman generator that scaffolds out a VTEX project using NPM Scripts as build tool.

##Features

  • ES2015 and JSX using Browserify and Babel
  • Node Sass
  • Built-in preview server with BrowserSync
  • Lint your scripts with ESLint
  • Image and SVG optimization
  • Jade Template Engine and VTEX specific mixins

##Getting Started

  • Install Yeoman: npm install -g yo
  • Install the generator: npm install -g generator-vtex-scaffold
  • Run the generator in the project folder with: yo vtex-scaffold or specify the folder with yo vtex-scaffold project-name
  • Use the available scripts.

##Available scripts Use npm run script-name to run any of these:

  • build:html
  • build:css
  • build:js
  • build:images
  • build (runs all build tasks above)
  • watch:html
  • watch:css
  • watch:js
  • watch:img
  • serve
  • start (runs build tasks and then runs watch tasks and serve) -> in this unique case, run with npm start

######Made with ❤️ by GTX Agency

About

VTEX project generator based on Jade, PostCSS, BrowserSync, Browserify and others useful packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published