0.1.0 • Published 10 years ago

grunt-jsjsdoc v0.1.0

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

grunt-jsjsdoc

A Grunt task for running jsjsdoc.

Example Gruntfile.js

module.exports = function(grunt) {

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    jsjsdoc: {
      main: {
        files: {'docs/main.md': ['*.js']},
      }
    },
    watch: {
      main: {
        files: ['*.js'],
        tasks: ['jsjsdoc']
      }
    }
  });

  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-jsjsdoc');

  grunt.registerTask('default', ['jsjsdoc', 'watch']);
  
};