Learn how to use TailPro included npm scripts to automate your time-consuming tasks in your development workflow with Gulp, Browsersync and PostCSS.
TailPro uses NPM scripts for its build system. Our
package.json includes convenient methods for working with the framework, including compiling code, running tests, and more.
To use our build system and run our documentation locally, you'll need a copy of TailPro's source files and Node. Follow these steps and you should be ready to rock:
- Download and install Node.js, which we use to manage our dependencies.
npm install --global gulp-clicommand. If you already installed Gulp CLI previously, you can skip this step and jump to step 3.
- Navigate to the root
Tailpro/directory and run
- After Npm install complete, run
npm run startto start development.
Yup, that's it.
Gulp, Sass and Browsersync
When install processing completed, you'll be able to run the various commands provided from the command line. Now you have an integrated workflow.
gulpfile.js includes the following tasks:
||Start development process with generate
||Update all plugins in
If you are using MacOS please use
sudo keyword in the command because they need administrator rights to install Gulp globally.