grunt-set-angular
v0.1.0
Published
grunt-set for angular development
Downloads
11
Maintainers
Readme
grunt-set-angular
A set of grunt tasks to help with angular development.
Features
- jshint js files
- run ngmin on js files
- automatically add bower dependencies
- pre-process less files
- load
*.html
files into angular template cache - convert
data/*.yaml
into angular constants - convert
translations/*.yaml
into angular constants - watch files for changes and automatically run correct task
- start up a dev server with livereload
- auto copy over images and fonts to the
dist
folder - deploy to s3
Suggested Folder Structure
dev/
modules/
some-module/
module.js
styles.less
view.html
directives/
some-directive/
directive.js
view.html
style.less
services/
some-service.js
styles/
vars.less
base.less
images/
logo.png
fonts/
app.ttf
app.js
index.html
Options
{
dev: 'dev'
dist: 'www',
//only needed if deploying to s3
aws: {
accessKeyID: '',
secretAccessKey: '',
bucket: ''
}
}
Commands
dev
- start up dev server and watch for changesdist
- build and minifydeploy
- deploy to s3