Skip to content

Commit

Permalink
Merge pull request #11 from packethost/add-grunt
Browse files Browse the repository at this point in the history
Add grunt
  • Loading branch information
dkenzox committed Jun 8, 2015
2 parents 720f30e + b7cc999 commit 130c74a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 19 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = function(grunt) {

grunt.initConfig({
jshint: {
files: ['Gruntfile.js', 'lib/**/*.js']
},
shell: {
runMocha: {
command: 'mocha'
}
}
});

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

grunt.registerTask('default', ['jshint', 'shell']);

};
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
},
"devDependencies": {
"chai": "^3.0.0",
"jasmine-node": "^1.14.5",
"grunt": "^0.4.5",
"grunt-contrib-jshint": "^0.11.2",
"grunt-shell": "^1.1.2",
"nock": "^2.3.0",
"node-uuid": "^1.4.3"
}
Expand Down

0 comments on commit 130c74a

Please sign in to comment.