Skip to content

Commit

Permalink
Add CommonJS support in accordance w/ Angular convention
Browse files Browse the repository at this point in the history
  • Loading branch information
bendrucker committed Feb 26, 2015
1 parent db222d0 commit 718c375
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require('./dist/angularfire');
module.exports = 'firebase';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"firebase",
"realtime"
],
"main": "dist/angularfire.js",
"main": "index.js",
"files": [
"dist/**",
"LICENSE",
Expand Down

0 comments on commit 718c375

Please sign in to comment.