UNPKG

wix-auth-hmac

Version:

A Node library for signing URL's using HMAC signing for Wix projects

35 lines (31 loc) 935 B
module.exports = function(grunt) { // Project configuration. grunt.initConfig({ jsdoc : { dist : { src: ['lib/*.js', 'README.md'], options: { destination: 'docs', private : false, configure: 'jsdoc.conf.json', template: 'node_modules/grunt-jsdoc/node_modules/ink-docstrap/template' } } }, 'gh-pages': { options: { base: 'docs' }, src: ['**'] }, clean: { all: ['doc', 'docs'] } }); grunt.loadNpmTasks('grunt-jsdoc'); grunt.loadNpmTasks('grunt-contrib-clean'); grunt.loadNpmTasks('grunt-gh-pages'); // Default task(s). grunt.registerTask('default', ['clean', 'jsdoc']); grunt.registerTask('publish', ['clean', 'jsdoc', 'gh-pages']); };