grunt-search-duplicate-ng-factories
v1.0.4
Published
Search duplicate angularjs factories factories
Downloads
5
Readme
grunt-search-duplicate-ng-factories
This is a Grunt plugin that searches a list of files for duplicate factory names, if it founds any duplicate match it will fail the build
Installation
In your project folder, run the following command:
npm install grunt-search-duplicate-ng-factories --save-dev
Once the plugin has been installed, you need to add this line of JS to your gruntfile:
grunt.loadNpmTasks('grunt-search-duplicate-ng-factories');
grunt.registerTask('default', ['searchDuplicateNgFactories']);
Usage examples
grunt.initConfig({
searchDuplicateNgFactories: {
default: {
files: {
src: "test/**"
}
}
},
});
Note : Submit feature requests & issues here
https://github.com/ravichandra480/grunt-search-duplicate-ng-factories/issues