A base setup for gulp (to be updated as we go along)
Use it as a reference, or copy it to jump-start a gulp project.
- Clone this project:
git clone git@github.com:tiy-durham-fe-cohort4/gulp-base.git your-project-name
cd your-project-name
rm -rf .git
git init
- Update
package.json
- You can do this by running
npm init
or by editingpackage.json
directly. - Change the package name
- Change the package description
- You can do this by running
- Check things in
git add .
git commit -m "Initial checkin"
- Install dependencies
npm install
You should be all set at this point!
This gulp configuration uses:
- Browserify to bundle your source
- Includes jQuery, underscore, backbone, and parsley
init.js
is currently the entry-point for your app
- SCSS to manage CSS dependencies and such
- Any
.html
files found in theviews
folder will be bundled- Available via
require('views')
- Available via