Skip to content

This is a simple boiler plate to start a js library project, with gulp automation setup for javascript and css files minification. Sass compilation. And simple copy with comments stripping. And a watcher with update for only changed files.

Notifications You must be signed in to change notification settings

MohamedLamineAllal/lib-project-boiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lib project boiler

This is a simple boiler plate to start a js library project, with gulp automation setup for minification for javascript and css files. Sass compilation. And simple copy with comments stripping.

Watcher: Update for only the changed or added files (added if is not empty (not newly created) [copy, move or rename (which is a move)]).

(current gulp version = 4)

> gulp

to start the watcher

> gulp jsminify

to minify javascript files. All the ones in src.

> gulp jsCopy

to only copy to destination.

> gulp css

for css files (minfication + just copy version)

> gulp sass

for sass files (scss, sass extensions) (same)

> gulp style

to run both sass and css tasks

Clone,

then run

npm install 

to install the dev dependencies (needed for the task runner).

and you will get started.

About

This is a simple boiler plate to start a js library project, with gulp automation setup for javascript and css files minification. Sass compilation. And simple copy with comments stripping. And a watcher with update for only changed files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published