-
Notifications
You must be signed in to change notification settings - Fork 1
Command Line Tasks
Eric Bailey edited this page Jul 4, 2017
·
13 revisions
These are the different commands available to you to perform project-related tasks:
-
npm version patch
: Increments the patch number. Ex:1.1.1
to1.1.2
-
npm version minor
: Increments the minor version number. Ex:1.1.1
to1.2.0
-
npm version major
: Increments the major version number. Ex:1.1.1
to2.0.0
A note about caret ranges: If there is a caret flag (^
) before the version number on a package, NPM will never install a version of that package that is higher than the first non-zero number. So for example, ^0.2.3
will allow installs of at least 0.2.3
, but not 0.3.0
.
enchilada breaks its tasks up into two different kinds of categories: "parent" and "child". Child tasks are single-purpose, used to do one thing simply. Parent tasks are made up of child tasks run in sequence.
Type gulp
to run build tasks and launch the site in the default browser.
Note: To generate a full list of parent and child tasks, type gulp help
in the command line.