Skip to content

Commit

Permalink
Merge pull request #22 from slavafomin/master
Browse files Browse the repository at this point in the history
Added CommonJS support
  • Loading branch information
RoopeHakulinen committed Mar 5, 2016
2 parents c4af412 + ad150d1 commit 0555185
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require('./dist/angular-flash');
module.exports = 'ngFlash';
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-flash-alert",
"version": "2.2.3",
"version": "2.2.3",
"description": "Flash message for AngularJS and Bootstrap",
"keywords": [
"angular-flash",
Expand All @@ -20,7 +20,7 @@
"email": "[email protected]",
"url": "https://github.com/sachinchoolur"
},
"contributors": [
"contributors": [
{
"name": "Roope Hakulinen",
"email": "[email protected]",
Expand All @@ -31,7 +31,7 @@
"type": "git",
"url": "[email protected]:sachinchoolur/angular-flash.git"
},
"main": "dist/angular-flash.js",
"main": "index.js",
"license": "MIT",
"scripts": {
"test": "grunt"
Expand Down

0 comments on commit 0555185

Please sign in to comment.