jumpstart-gulp v0.2.0
jumpstart-gulp
Overview
This can be used as a quick start for gulp projects. Designed for use with WordPress, but should work pretty much wherever. Inspired by WPGulp by AhmadAwais.
Prerequisites
This project uses Gulp, a Node.js task runner and should already be installed as a prerequisite.
Confirm that node and npm are properly installed using the command line:
node --version
npm --version
Additionally, the Gulp command command line must be globaly installed.
npm install --global gulp-cli
You can verify that gulp-cli is installed by running
gulp --version
Quickstart: Homebrew on macOS
On macOS, ensure command line tools are installed. If they are not, install them using
xcode-select --install
Then, install and update Homebrew. At the time of this writing, past the following into terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew doctor
brew upgrade
Next, install node, gulp-cli and:
brew install node gulp-cli
Installing this project
After the prerequisites have been met, navigate to your the wp-content/themes/
folder and create a new folder to house your new theme. Inside this folder, run npx jumpstart-gulp
Run the compiler with gulp
2 years ago