grunt-sync-pkg
Version:
Minimalist Grunt plugin to sync only basic properties between package.json and bower.json
39 lines (33 loc) • 809 B
JavaScript
/*
* grunt-sync-pkg
* https://github.com/jps/grunt-sync-pkg
*
* Copyright (c) 2013 Jon Schlinkert
* Licensed under the MIT license.
*/
;
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
all: ['Gruntfile.js', 'tasks/*.js'],
options: {
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"sub": true,
"undef": true,
"boss": true,
"eqnull": true,
"node": true
}
}
});
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-contrib-jshint');
// By default, lint and run all tests.
grunt.registerTask('default', ['jshint']);
};