A minimal, clean and simple boilerplate based on Harp, npm as a task runner, and deploy to Github Pages.
git clonethis reponpm install- Open up
package.jsonand change any needed configuration inconfigorscripts
npm startwill open a browser onhttp://localhost:3000(BrowserSync)- All your
.jade, .scss, .mdfiles are being watched and magically served (Harp + BrowserSync)
npm buildwill create adistfolder with all your static files.- It will also create a CNAME file for you.
npm gh-deploywill take yourdistand push it to your repo'sgh-pagesbranch (git-directory-deploy)- It will only take update files
username.github.io/repoandYOUR_DOMAINare magically updated
- You can do semantic versioning with npm (see reference)
npm version patch,npm version minor,npm version major- It will also make a
git commitfor you
- Add some more
configoptions - Create a Yeoman Generator for this
- NodeJS
- bash/zsh/fish
- Start a Blog with Harp
- Harp, Gulp and BrowserSync
- How to Use npm as a Build Tool (AMAZING)
- Task Automation with npm run
To the creators of these tools, articles and all the people sharing their knowledge - I want to say thank you!
MIT