Skip to content

Commit 0555185

Browse files
Merge pull request #22 from slavafomin/master
Added CommonJS support
2 parents c4af412 + ad150d1 commit 0555185

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require('./dist/angular-flash');
2+
module.exports = 'ngFlash';

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-flash-alert",
3-
"version": "2.2.3",
3+
"version": "2.2.3",
44
"description": "Flash message for AngularJS and Bootstrap",
55
"keywords": [
66
"angular-flash",
@@ -20,7 +20,7 @@
2020
"email": "[email protected]",
2121
"url": "https://github.com/sachinchoolur"
2222
},
23-
"contributors": [
23+
"contributors": [
2424
{
2525
"name": "Roope Hakulinen",
2626
"email": "[email protected]",
@@ -31,7 +31,7 @@
3131
"type": "git",
3232
"url": "[email protected]:sachinchoolur/angular-flash.git"
3333
},
34-
"main": "dist/angular-flash.js",
34+
"main": "index.js",
3535
"license": "MIT",
3636
"scripts": {
3737
"test": "grunt"

0 commit comments

Comments
 (0)