grunt-angularjs-test-attribute
v1.0.3
Published
Add test id attribute
Downloads
70
Maintainers
Readme
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'
}
]
}
}
});