Skip to content

Commit

Permalink
Updating grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriopvl committed Jul 13, 2013
1 parent 662e96a commit b0fdfea
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 19 deletions.
17 changes: 17 additions & 0 deletions Gruntfile.js
@@ -0,0 +1,17 @@
module.exports = function(grunt){
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
all: ['Gruntfile.js', 'lib/*.js', 'bin/*', 'test/*.js']
},
nodeunit: {
all: ['test/*.js']
}
});

grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-nodeunit');

grunt.registerTask('default', ['jshint', 'nodeunit']);
grunt.registerTask('test', ['nodeunit']);
};
16 changes: 0 additions & 16 deletions grunt.js

This file was deleted.

10 changes: 7 additions & 3 deletions package.json
Expand Up @@ -12,11 +12,14 @@
"url": "https://github.com/rogeriopvl/nodo"
},
"devDependencies": {
"nodeunit": ">=0.7.4"
"nodeunit": "~0.8.1",
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.6.0",
"grunt-contrib-nodeunit": "~0.2.0"
},
"dependencies": {
"colors": ">=0.6.0",
"sqlite3": ">=2.1.5"
"sqlite3": "~2.1.12"
},
"engines": {
"node": ">=0.8.0"
Expand All @@ -30,7 +33,8 @@
"nodo-install": "./bin/nodo-install"
},
"scripts": {
"install": "./bin/nodo-install"
"install": "./bin/nodo-install",
"test": "grunt test"
},
"licenses": [
{
Expand Down

0 comments on commit b0fdfea

Please sign in to comment.