0.1.0 • Published 9 years ago

grunt-mongo-drop-task v0.1.0

Weekly downloads
39
License
MIT
Repository
github
Last release
9 years ago

grunt-mongo-drop

Grunt task to drop database

Installing

add line with repository to package.json:
"grunt-mongo-drop": "git+https://github.com/IOKI/grunt-mongo-drop.git"

and then "npm install"

specify options grunt.initConfig:
'mongo-drop': {
            options: {
                dbname: 'mean-dev',
                host: 'localhost'
            }
        }

and then you can use it e.g. grunt.registerTask('drop', ['mongo-drop']);

Options with default values

 dbname: null
 host: 'localhost'