Socket
Socket
Sign inDemoInstall

grunt-ng-annotate

Package Overview
Dependencies
40
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.7 to 0.0.8

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc