Remeic / generator-postcss

A simple postcss yeoman generator to be immediately ready and productive!
MIT License
13 stars 2 forks source link
generator-postcss gulp postcss yeoman

Postcss Yeoman Generator Build Status

Greenkeeper badge

Yeoman generator for Postcss projects

This generator makes for you production folder that contains JS, HTML, CSS and an awesome Gulp file ready to use for minify, beautify and live reload for browser.

Installation

Pre-requisites: You'll need node which comes with npm or yarn.

If you don't have Yeoman installed:

npm install -g yo

Install generator with npm or yarn

npm i generator-postcss-projects
yarn add generator-postcss-projects

Usage

yo postcss-projects

Drink an italian coffee and wait

What gulp file include?

Minify CSS

gulp minify-css

Minify HTML

gulp minify-html

Beautify CSS

gulp css

Watcher

gulp poster

Compile ( Include minify and beautify )

gulp

Serve ( Open live reload in your browser )

gulp serve

Contributor

Thanks to Salvatore B. and Andrea Stagi to help me with troubleshooting.

License

MIT © Giulio Fagioli