Permalink
Browse files

Added minifying script for convenience + instructions in the readme

  • Loading branch information...
jeromegn committed Mar 26, 2012
1 parent 8343753 commit c3681f1359f8164b45d427c2a06fb881ca2a8a55
Showing with 37 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +5 −0 Makefile
  3. +11 −0 README.md
  4. +2 −3 backbone.localStorage-min.js
  5. +18 −0 package.json
View
@@ -0,0 +1 @@
+node_modules
View
@@ -0,0 +1,5 @@
+test:
+ npm test
+
+minified:
+ uglifyjs -o backbone.localStorage-min.js backbone.localStorage.js
View
@@ -25,6 +25,17 @@ window.SomeCollection = Backbone.Collection.extend({
Feel free to use Backbone as you usually would, this is a drop-in replacement.
+## Contributing
+
+1. Fork;
+2. Write code;
+3. Write tests (or vice et versa);
+4. `make test`;
+5. `make minified`;
+6. Create a pull request.
+
+Have fun!
+
## Credits
Thanks to [Mark Woodall](https://github.com/llad) for the QUnit tests.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -0,0 +1,18 @@
+{
+ "author": "Jerome Gravel-Niquet <jeromegn@gmail.com> (http://jgn.me)",
+ "name": "Backbone.localStorage",
+ "version": "0.0.0",
+ "repository": {
+ "type": "git"
+ , "url": "git://github.com/jeromegn/Backbone.localStorage.git"
+ },
+ "scripts": {
+ "test" : "open tests/test.html"
+ },
+ "dependencies": {
+ "uglify-js" : "~1.2.6"
+ },
+ "engines": {
+ "node": "*"
+ }
+}

0 comments on commit c3681f1

Please sign in to comment.