UNPKG

express-couchdb-core

Version:

A core rest api for a couchdb database

41 lines (37 loc) 987 B
var path = require('path'); var src = path.join(__dirname, 'index.js'); module.exports = function(grunt) { grunt.initConfig({ jshint: { files: src }, watch: { scripts: { files: 'index.js', tasks: ['jshint'], options: { interrupt: true } } }, bump: { options: { files: ['package.json'], updateConfigs: [], commit: true, commitMessage: 'Release v%VERSION%', commitFiles: ['package.json'], // '-a' for all files createTag: true, tagName: 'v%VERSION%', tagMessage: 'Version %VERSION%', push: true, pushTo: 'origin', gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d' // options to use with '$ git describe' } } }); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-bump'); grunt.registerTask('default', ['jshint']); }