grunt-blueprint-validator

3.1.0 • Public • Published

grunt-blueprint-validator

Validates Blueprint files.

Getting Started

npm install grunt-blueprint-validator --save-dev

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

grunt.loadNpmTasks('grunt-blueprint-validator');

The "blueprint-validator" task

Overview

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

'blueprint-validator': {
    'contract-test':{
        mdFiles: './path/**/*.md',
        failOnWarnings: true
    }
}

NOTE

This module uses api-blueprint-validator.

api-blueprint-validator module 1.1.0 uses Drafter.js, which is pre-release from version 1.1.0.

If you want don't want to use Drafter.js, then you can use version 3.0.x of grunt-blueprint-validator.

Package Sidebar

Install

npm i grunt-blueprint-validator

Weekly Downloads

2

Version

3.1.0

License

none

Last publish

Collaborators

  • marcelogo
  • russianator