Permalink
Browse files

Add package.json and more concise dependency list

*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...
1 parent 0a5b3d7 commit 4460aee3ac2b7bc8d86cd6c1f929384ef9edf07e @baer baer committed Sep 17, 2013
Showing with 13 additions and 2 deletions.
  1. +1 −2 Gruntfile.js
  2. +12 −0 package.json
View
@@ -21,8 +21,7 @@ module.exports = function( grunt ) {
});
// build
- grunt.loadNpmTasks('grunt-contrib');
+ grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('build', 'uglify');
grunt.registerTask('default', 'build');
-
};
View
@@ -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.