module.exports = function (grunt) {

	grunt.initConfig({

		meta: {
			banner: '// ' + grunt.file.read('src/loStorage.js').split("\n")[0]
		},

		min: {
			dist: {
				src: ['<banner>', 'src/loStorage.js'],
				dest: 'src/loStorage.min.js'
			}
		},

		jasmine: {
			all: ['spec/index.html']
		},

		watch: {
			test: {
				files: ['src/loStorage.js', 'spec/*'],
				tasks: 'test'
			}
		}

	});

	grunt.loadNpmTasks('grunt-jasmine-task');

	grunt.registerTask('test', 'jasmine');
	grunt.registerTask('release', 'test min');
	grunt.registerTask('default', 'release');

};
module.exports = function (grunt) {

	grunt.initConfig({

		meta: {
			banner: '// ' + grunt.file.read('src/loStorage.js').split("\n")[0]
		},

		min: {
			dist: {
				src: ['<banner>', 'src/loStorage.js'],
				dest: 'src/loStorage.min.js'
			}
		},

		jasmine: {
			all: ['spec/index.html']
		},

		watch: {
			test: {
				files: ['src/loStorage.js', 'spec/*'],
				tasks: 'test'
			},

			min: {
				files: ['src/loStorage.js'],
				tasks: 'min'
			}
		}

	});

	grunt.loadNpmTasks('grunt-jasmine-task');

	grunt.registerTask('test', 'jasmine');
	grunt.registerTask('release', 'test min');
	grunt.registerTask('default', 'release');

};
Add min task to watch
Add min task to watch
