项目作者: patrickbower
项目描述 :
Bare bones Grunt based boilerplate for rapid prototyping
高级语言: JavaScript
项目地址: git://github.com/patrickbower/simple-boilerplate.git
Simple Boilerplate
Bare bones Grunt run boilerplate project for fast prototyping
About
This is not very opionated but includes a few ideas to get started on projects:
- Source files (
src
), generate All build files (build
) - Intended modular approuch for HTML, CSS and JS
- Styles and scripts compiled to single files
- Deploy to GitHub Pages command
Stack
- Command line server
- NPM management
- Grunt
- Nested HTML includes
- SASS for styling
- ES6 transpiled to 2015 JavaScript
- Image compression
- jQuery inclueded (commeneted out)
- Bootstrap v3 inclueded (commeneted out)
Setup
- Run
npm run start
in root directory
Development
- Add new custom files (those not currently being handled via exsiting Grunt tasks eg:
favicon.ico
), to the Grunt Copy task gruntfile.js > copy
Deploy
- Ensure this setting is enabled on GitHub repo on the default
gh-pages
branch - Run
npm run deploy
in root directory