Skip to content

Commit

Permalink
Add package.json and more concise dependency list
Browse files Browse the repository at this point in the history
*Add package.json so any developer can pull down project dependencies
 with just 'npm install'
*Remove dependency on grunt-contrib. It is enormous and all the project
 uses from it is grunt-contrib-uglify
  • Loading branch information
baer committed Sep 17, 2013
1 parent 0a5b3d7 commit 4460aee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Gruntfile.js
Expand Up @@ -21,8 +21,7 @@ module.exports = function( grunt ) {
}); });


// build // build
grunt.loadNpmTasks('grunt-contrib'); grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('build', 'uglify'); grunt.registerTask('build', 'uglify');
grunt.registerTask('default', 'build'); grunt.registerTask('default', 'build');

}; };
12 changes: 12 additions & 0 deletions package.json
@@ -0,0 +1,12 @@
{
"name": "Swipe",
"version": "2.0.0",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-uglify": "~0.2.4"
},
"engines": {
"node": ">=0.8.0"
}
}

0 comments on commit 4460aee

Please sign in to comment.