This is my officially unofficial boilerplate for new projects. Anyone who stumbles upon it is free to fork and pull request!
Bitbucket
Github (use this for pull requests)
- Getting sourcemaps working is a lost cause right now
- Add a more semantic, stylable alternative form input system (still looking for a good library for this)
- Possibly create a fork using webpack in place of gulp
- If so, this repo might be renamed baseline-gulp
--- Remove everything above this point for projects ---
Ensure you have the following hosts defined in /etc/hosts
:
123.456.678 FFFF.prod
123.456.678 FFFF.local
Ensure you have the following remotes defined in your clone:
git remote add test [email protected]:~/repos/heronlandingpages/Test.git
git remote add stage [email protected]:~/repos/heronlandingpages/Stage.git
git remote add prod [email protected]:~/repos/heronlandingpages/Prod.git
npm install
gulp watch
For vendor libraries, use bundle
task. If the libraries aren't minified, use the mindep
task.
The images
task utilizes the OS X-only ImageOptim and ImageAlpha to maximize lossless compression (benchmarks). JPEGs should be processed through JPEGmini manually unless you want to modify gulp-imageoptim yourself.
- Local: http://localhost:1234/
- Test: http://FFFF-test.pushdev.net/
- Stage: http://FFFF-stage.pushdev.net/
- Production: http://FFFF.com/