New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

grunt-angularjs-test-attribute

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-angularjs-test-attribute

Add test id attribute

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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'
        }
      ]
    }
  }
});

Keywords

html

FAQs

Package last updated on 23 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts