===========================
1. Installation
You will need to have nodejs isntalled.
2. Getting started
- open the command line and switch into the project folder
npm install
sudo npm install -g gulp
-
gulp
to see the list of available tasks
3. Essential Gulp Tasks
-
gulp build
dumps a plain and a minified file from all files in the foldersrc
into the folderdist
. -
gulp clean
removes all files in the folderdist
. -
gulp test
runs the tests and linting for all files in the foldersrc
. -
gulp bump-patch
increases the version by0.0.1
for the last git commit and pushes the new tag to the remote repository. -
gulp bump-minor
increases the version by0.1.0
for the last git commit and pushes the new tag to the remote repository. -
gulp bump-major
increases the version by1.0.0
for the last git commit and pushes the new tag to the remote repository.