Skip to content

vKuka/grunt-angularjs-test-attribute

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-angularjs-test-attribute

Getting Started

npm install grunt-angularjs-test-attribute --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-angularjs-test-attribute');

The "replace_attribute" task

Overview

In your project's Gruntfile, add a section named test_attribute to the data object passed into grunt.initConfig().

grunt.initConfig({
  test_attribute: {
    testPanel: {
      files: [
        {
          expand: true,
          cwd: 'app',
          src: [
            'js/**/*.html',
            '!js/components/service-section/**/*.html'
          ],
          dest: 'test-app'
        }
      ]
    }
  }
});

About

A grunt task to replace or modify html attributes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 56.1%
  • HTML 43.9%