grunt-ng-annotate
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "grunt-ng-annotate", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Add, remove and rebuild AngularJS dependency injection annotations.", | ||
@@ -25,3 +25,3 @@ "homepage": "https://github.com/mzgol/grunt-ng-annotate", | ||
"dependencies": { | ||
"ng-annotate": "~0.7.0" | ||
"ng-annotate": "~0.8.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "devDependencies": { |
@@ -73,6 +73,28 @@ # grunt-ng-annotate | ||
TODO | ||
```js | ||
grunt.initConfig({ | ||
ngAnnotate: { | ||
options: { | ||
singleQuotes: true, | ||
}, | ||
all: { | ||
files: { | ||
'a.js': ['a.js'], | ||
'c.js': ['b.js'], | ||
'f.js': ['d.js', 'e.js'], | ||
}, | ||
}, | ||
}, | ||
}); | ||
grunt.loadNpmTasks('grunt-ng-annotate'); | ||
``` | ||
After executing `grunt ngAnnotate`, you'll get file `a.js` annotated and saved under the same name, file `b.js` | ||
annotated and saved as `c.js` and files `d.js` and `e.js` concatenated, annotated and saved as `f.js`. Annotations | ||
will be saved using single quotes. | ||
## Contributing | ||
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/). | ||
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed | ||
functionality. Lint and test your code using [Grunt](http://gruntjs.com/). | ||
@@ -83,2 +105,2 @@ ## Release History | ||
## License | ||
Copyright (c) 2013 Laboratorium EE. Licensed under the MIT license. | ||
Copyright (c) 2014 Michał Gołębiowski. Licensed under the MIT license. |
Sorry, the diff of this file is not supported yet
52457
105
+ Addedng-annotate@0.8.0(transitive)
- Removedng-annotate@0.7.3(transitive)
Updatedng-annotate@~0.8.0