Skip to content

Commit

Permalink
Add in docco task
Browse files Browse the repository at this point in the history
  • Loading branch information
jcreamer898 committed Oct 3, 2014
1 parent 27e2e47 commit eb883e5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions gruntfile.js
Expand Up @@ -90,6 +90,14 @@ module.exports = function (grunt) {
},
qunit: {
all: ['spec/**/*.html']
},


docco: {
src: ['js/barekit.js'],
options: {
output: 'docs/'
}
}
});

Expand All @@ -100,6 +108,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-autoprefixer');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-docco');

grunt.registerTask('js', [ 'concat', 'uglify' ]);
grunt.registerTask('test', [ 'js', 'qunit' ]);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -14,6 +14,7 @@
"gulp-stylus": "^1.0.2",
"gulp-uglify": "^0.3.1",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-qunit": "^0.5.2"
"grunt-contrib-qunit": "^0.5.2",
"grunt-docco": "^0.3.3"
}
}

0 comments on commit eb883e5

Please sign in to comment.