Skip to content

Commit

Permalink
moved CHANGELOG and added docgen
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammaddadu committed Jan 12, 2017
1 parent 15199e7 commit a61eba0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
File renamed without changes.
17 changes: 15 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,24 @@ module.exports = function(grunt) {
grunt.initConfig({
mochaTest: {
test: {
src: ['test/**/*_test.js']
src: ['test/*_test.js']
}
}
},
jsdoc : {
dist : {
src: ['bin/**/*.js', 'hooks/**/*.js', 'lib/**/*.js', 'test/**/*.js', 'index.js'],
options: {
destination: 'docs'
}
}
}
});

grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('grunt-jsdoc');

grunt.registerTask('test', 'mochaTest');
grunt.registerTask('jsdoc', ['mochaTest', 'jsdoc']);

grunt.registerTask('defualt', ['mochaTest', 'jsdoc']);
};
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"start": "node .",
"grunt": "grunt",
"test": "grunt test"
},
"keywords": [
Expand Down Expand Up @@ -38,8 +39,11 @@
},
"devDependencies": {
"grunt": "^1.0.1",
"grunt-jsdoc": "^2.1.0",
"grunt-mocha-test": "^0.12.7",
"jsdoc": "^3.4.3",
"mocha": "^2.4.5",
"should": "^8.3.1"
"should": "^8.3.1",
"sinon": "^1.17.7"
}
}

0 comments on commit a61eba0

Please sign in to comment.