Nurturing Pluto's Martians
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

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.

install

npm i grunt-blueprint-validator

Downloadsweekly downloads

239

version

3.1.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability