Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/travishorn/grb-boilerplate
Front-end boilerplate using Grunt, RequireJS, Bootstrap, and more.
https://github.com/travishorn/grb-boilerplate
Last synced: 28 days ago
JSON representation
Front-end boilerplate using Grunt, RequireJS, Bootstrap, and more.
- Host: GitHub
- URL: https://github.com/travishorn/grb-boilerplate
- Owner: travishorn
- Created: 2013-03-19T15:49:35.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-10-04T14:08:11.000Z (about 6 years ago)
- Last Synced: 2024-04-14T11:56:23.292Z (9 months ago)
- Language: JavaScript
- Size: 134 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#GRB Boilerplate
##What is it?
This boilerplate is a collection of files to help kickstart front-end web
development. It incorporates tools, web frameworks, and libraries, including:- [**G**runt][1] for automated task and build running
- [**R**equireJS][2] for JavaScript module loading
- [**B**ootstrap][3] for scaffolding, style, and front-end components
- [html5boilerplate][4] for a base front-end template
- [Normalize.css][5] for cross-browser rendering consistency
- [jQuery][6] for quick development of JavaScript features
- [Modernizr][7] for feature detection
- [Jasmine][8] for unit testing##How to use it
###Quick start
If you just want to get started and/or don't need build features, just copy
the contents of the `src` directory to a new directory and begin modifying
`index.html`, `stylesheets/style.css`, and `javascripts/main.js`.###Building
For the full boilerplate with build features, [you will need to have Node.js
installed][9] (which comes with NPM). In addition, you will need the
[grunt-cli][10] installed globally. If you don't already have it, run
`npm install -g grunt-cli` from the command line.With the environment set up, modify `package.json` to include the name of your
project. Then, run `npm install` from the command line to install dependencies.Begin development by modifying `src/index.html`, `src/stylesheets/style.css`,
and `src/javascripts/main.js`. When you want to build, run `grunt` from the
command line. The built project will appear in the `build` directory.###Testing
Unit tests are ran using [Jasmine][8]. Everything is contained in the `test`
directory. Describe tests in `test/javascripts/spec.js`. If you want to break
specs into multiple files, just modify `test/javascripts/main.js` to include
all your spec files.Run tests by opening `test/SpecRunner.html` in a browser.
[1]: http://gruntjs.com
[2]: http://requirejs.org/
[3]: http://twitter.github.com/bootstrap/
[4]: http://html5boilerplate.com/
[5]: http://necolas.github.com/normalize.css/
[6]: http://jquery.com/
[7]: http://modernizr.com/
[8]: https://jasmine.github.io/
[9]: http://nodejs.org/download/
[10]: https://github.com/gruntjs/grunt-cli