Skip to content

polvo-labs/boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boilerplate

Less is more.

A boilerplate intended to be both fast and productive, but yet simple.

features

usage

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

scripts

This boilerplate uses NPM Scripts for tasks automation.

Use npm run [script] to run these scripts:

dev

It runs both watch and serve tasks in parallel. Ideal for development mode.

build

It runs all *:prod tasks in parallel. Run this task before deployment.

watch

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.

serve

It launches the PHP built-in server with BrowserSync.

js

It runs Browserify on your JS code.

js:lint

Test your code against Standard.

js:prod

It runs Browserify with minifiyify for compression and sourcemaps.

js:watch

It runs Watchify.

css

It runs Stylus.

css:prod

It runs Stylus with compression and autoprefixer.

img

It just copy your images from your source.

img:prod

Compress your images before copying.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors