nvm use
switches to nodejs version from .nvmrc
npm install
bower install
gulp serve
: Compiles preprocessors and boots up development server
gulp serve --open
: Same as gulp serve
but will also open up site/app in your default browser
gulp serve --production
: Same as gulp serve
but will run all production tasks so you can view the site/app in it's final optimized form
gulp --production
: Same as gulp serve --production
also run gulp test
and not boot up production server
gulp ghPages
deploys build
dir to Github Pages
gulp s3:staging
or gulp s3:production
— add AWS credentials to config/keys.json
JavaScript
- Browserify with ES6/2015 support through Babel
- Node
Styles
Markup
Optimization
Server
Linting
Automation
Code Management
gulp test
: Lints all *.js
file in the source
folder using eslint
Adding the --debug
option to any gulp task displays extra debugging information (ex. data being loaded into your templates)