3.1.0 • Published 10 years ago
grunt-blueprint-validator v3.1.0
grunt-blueprint-validator
Validates Blueprint files.
Getting Started
npm install grunt-blueprint-validator --save-devOnce 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.