gulp.js project template
This is a template or a initial setup for a simple gulp project. It aims to provide some common tasks to a web app development within a organized structure.
Structure
A sample project strucutre could be:
|-- app
| |-- bower_modules
| |-- assets
| | |-- styles
| | | |-- style_one.scss
| | | |-- style_two.scss
| | |-- scripts
| | | |-- script_one.coffee
| | | |-- script_two.coffee
| | |-- images
| |-- index.html
|-- dist
| |-- assets
| | |-- styles
| | | |-- main.min.css
| | |-- scripts
| | | |-- main.min.js
| | |-- images
| |-- index.html
|-- node_modules
|-- test
Build tasks
The tasks this template aims are:
- Compiles scss files
- Minify styles
- Compiles CoffeeScript files
- Runs jsHint against js files
- Runs mocha tests
- Generates an optimized build
- Starts a server
- Watches for changes