Skip to content

Commit

Permalink
Published NPM for grunt 0.4.0 - still issues with beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry Weiss committed Feb 17, 2013
1 parent 6ae66b4 commit 1c4612d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
13 changes: 7 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ module.exports = function ( grunt ) {
// Project configuration.
grunt.initConfig( {
beautify : {
tests : '<config:nodeunit.tests>',
tests : 'test/template-test.js',
files : ['package.json', 'grunt.js', 'tasks/*.js']
},
lint : {
all : ['grunt.js', 'tasks/**.js', '<%= nodeunit.tests %>']
},

jshint : {
options : {
curly : true,
Expand All @@ -35,7 +33,9 @@ module.exports = function ( grunt ) {
es5 : true,
strict : false
},
globals : {}

all : ['grunt.js', 'tasks/**.js', 'test/template-test.js']

},
beautifier : {
options : {
Expand Down Expand Up @@ -143,10 +143,11 @@ module.exports = function ( grunt ) {

// These plugins provide necessary tasks.
grunt.loadNpmTasks( 'grunt-contrib-nodeunit' );
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
grunt.loadNpmTasks( 'grunt-beautify' );

grunt.registerTask( 'test', ['template-module', 'nodeunit'] );
grunt.registerTask( "publish", ["lint", "beautify", "test"] );
grunt.registerTask( "publish", ["jshint:all", /*"beautify",*/ "test"] );

// By default, lint and run all tests.
grunt.registerTask( 'default', ['test'] );
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
},
"devDependencies": {
"grunt": "~0.4.0",
"grunt-contrib-nodeunit": "~0.1.2"
"grunt-contrib-nodeunit": "~0.1.2",
"grunt-contrib-jshint": "~0.1.1"
},
"keywords": [
"gruntplugin",
Expand Down

0 comments on commit 1c4612d

Please sign in to comment.