Less is more.
A boilerplate intended to be both fast and productive, but yet simple.
Make sure you do have Node, Git and PHP installed in your machine.
Clone the repository:
git clone https://github.com/polvo-labs/boilerplate.git --depth=1
Now, just install all dependencies:
npm install
This boilerplate uses NPM Scripts for tasks automation.
Use npm run [script] to run these scripts:
It runs both watch and serve tasks in parallel.
Ideal for development mode.
It runs all *:prod tasks in parallel.
Run this task before deployment.
It watches your source files for changes, and call the specific task for each sources.
It doesn't run any *:prod task, neither launches browser-sync.
It launches the PHP built-in server with BrowserSync.
It runs Browserify on your JS code.
Test your code against Standard.
It runs Browserify with minifiyify for compression and sourcemaps.
It runs Watchify.
It runs Stylus.
It runs Stylus with compression and autoprefixer.
It just copy your images from your source.
Compress your images before copying.