项目作者: patrickbower

项目描述 :
Bare bones Grunt based boilerplate for rapid prototyping
高级语言: JavaScript
项目地址: git://github.com/patrickbower/simple-boilerplate.git
创建时间: 2017-03-20T11:17:58Z
项目社区:https://github.com/patrickbower/simple-boilerplate

开源协议:

下载


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

  1. 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

  1. Ensure this setting is enabled on GitHub repo on the default gh-pages branch
  2. Run npm run deploy in root directory