We assume you have and npm already installed. We require node version 6 or higher be installed to run Kickoff effectively.
Install Yeoman and the Kickoff Yeoman Generator
The command below will install and the Kickoff Yeoman generator. The Yeoman generator is used to scaffold new projects using Kickoff and to help you while developing to make common tasks much more easier to achieve.
npm i -g yo generator-kickoff
Once you have got Kickoff, install all the Node dependencies
Kickoff’s contains information for all the project’s dependencies
To install them, use your terminal to
cd into the root of the Kickoff directory, and then run
npm install. This will install all of the required dependencies to a new folder called
node_modules inside your project.
Should you encounter problems with installing dependencies or running gulp commands, first delete the
/node_modules/ directory generated by
npm. Then, rerun
Rock-solid build tasks
Kickoff comes with a number of useful gulp, webpack and other tasks configured for you to use. These are tasks that you can run in the command line from the root directory of your Kickoff project.
NPM run scripts
||( via ), with , , Source Maps & more..|
||Image compression with|
||Compile all the things|
||Watch all files for changes|
||Basic dev server using|
||Lint JS using|
||Fix JS linting issues using|
||Lint CSS using . We use the rules for our linting|
||Compile all assets for production deployment|
||Creates a patch release using|
||Creates a minor release using|
||Creates a major release using|
||Creates a premajor release using|
Tooling config variables allow you to control some of the basic settings of your Kickoff project. They can be found in the . It is especially useful if you want to change the location of the assets directory, see .