UNPKG

scarlet-init

Version:

Scarlet-init is a scaffolding tool used to automate Scarlet plugin creation.

38 lines (35 loc) 823 B
module.exports = function(grunt){ // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), jshint: { files: ['Gruntfile.js', 'index.js', 'lib/**/*.js','tests/**/*.js'], options: { globals: { console: true, module: true } } }, release: { options: { bump: true, file: 'package.json', add: true, commit: true, tag: true, push: true, pushTags: true, npm: true } }, watch: { files: ['<%= jshint.files %>'], tasks: ['jshint'] } }); grunt.loadNpmTasks('grunt-release'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.registerTask('default', ['jshint',"watch"]); };