Skip to content

Base site starter using Grunt, Assemble, SASS, Uglify, ImageMin, etc

License

Notifications You must be signed in to change notification settings

tetowill/base-site-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter Site Template

This is a base site template set up with specific modules one might want when starting a new project. Feel free to use this as an example and add / remove whatever you want.

What You Need

For this to work you will need to have the following tools installed.

  • Node - recommend updating to the newest version
  • Grunt (npm install -g grunt-cli)
  • Bower (npm install -g bower)

Getting Started

Here's the quick explanation. Clone this project to your directory and run the following commands. Follow the links for further info.

  1. npm install
  2. bower install
  3. grunt
  4. grunt dev

Node Modules

npm install

Here's a list of the modules being installed, links to their repositories / sites for details and a quick note on how they're being used.

Bower Components

bower install

Bower will install the below packages. Then you can use it to manage your other packages!

  • jQuery 2.1 (no < IE 8 for us)
  • Modernizr.js
  • Normalize.css

Grunt

grunt

This will:

  1. Clean the dist and any bower files already copied over to the project
  2. Lint and compile your SASS, then prefix, lint and minify the CSS
  3. JSHint your JS, concat dat, uglify it
  4. Assemble your HTML, lint it
  5. Minify your images
  6. Copy over any docs and root files

Grunt Dev

grunt dev

This will:

  1. Start a local server using Connect (set for port 8080)
  2. Watch for any changes to your files
  3. Recompile any files that change and run only the necessary tasks (CSS, JS, HTML, Images)
  4. Live Reload the browser using the live reload browser extension

Author

Will Hutchinson (set this up while working at Infinity Interactive)

About

Base site starter using Grunt, Assemble, SASS, Uglify, ImageMin, etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published