grunt-search-duplicate-ng-factories

1.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i grunt-search-duplicate-ng-factories

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

7.99 kB

Total Files

6

Last publish

Collaborators

  • ravichandrar