A boilerplate web project with the following batteries:
- Babel - JavaScript ES2015 compiler
- SASS - CSS with superpowers
- Compass - CSS Authoring Framework using SASS
- Foundation - Responsive front-end framework
- Bower - Frontend dependency manager
- npm - Node package manager
- Grunt - Task runner
- Browserify - Modular JavaScript bundler
- Remapify - Alias directories for browserify
- Livereload & Chrome Plugin & Firefox Plugin - Refresh HTML, CSS, JS, images and other stuff as soon as they change
- jQuery - JavaScript general purpose library
- Polymer - Make fast, beautiful, and interoperable web components
- Underscore - JavaScript functional library
- Backbone - Structure for JS applications
Install system dependencies:
- Node and npm with the global packages:
- Grunt CLI
- Bower
- Ruby with the gems:
- SASS
- Compass
Project dependencies:
npm install
bower install
Project configuration:
npm run configure
Most project dependencies are needed in the development environment. In a production environment they are not required because assets would have been created.
src/
- Main source codejs/
- ES2015 codescss/
- SASS codepolymers/
- Polymer components
build/
- Build folderassets/
- Public assets folderjs/
- JavaScript assetscss/
- CSS assetspolymers/
- Compiled web components
tests/
- Test suitesunit/
- Unit testingintegration/
- Integration testingbenchmarks/
- Benchmarksindex.js
- Testing entry point
tasks/
- Grunt tasksindex.js
- Tasks entry point
package.json
- Node package infobower.json
- Bower dependenciesGruntfile.js
- Grunt file for tasksconfigure.js
- Project configuration file.bowerrc
- Bower config file.editorconfig
- EditorConfig.jshintrc
- JSHint config file.travis.yml
- Travis CI Test and deploy code in the cloudapp.js
- express server example