File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 6
6
],
7
7
"plugins" : [
8
8
" transform-decorators" ,
9
- " transform-class-properties"
9
+ " transform-class-properties" ,
10
+ " add-module-exports"
10
11
]
11
12
}
Original file line number Diff line number Diff line change @@ -148,4 +148,5 @@ GoogleAnalytics.propTypes = {
148
148
GoogleAnalytics . contextTypes = {
149
149
router : _react . PropTypes . object . isRequired
150
150
} ;
151
- exports . default = GoogleAnalytics ;
151
+ exports . default = GoogleAnalytics ;
152
+ module . exports = exports [ 'default' ] ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-g-analytics" ,
3
- "version" : " 0.2.1 " ,
3
+ "version" : " 0.2.2 " ,
4
4
"description" : " React google analytics with support for react-router" ,
5
5
"author" : {
6
6
"name" : " Zlatko Fedor" ,
44
44
"babel-preset-react" : " ^6.3.13" ,
45
45
"babel-preset-stage-0" : " ^6.3.13" ,
46
46
"babel-preset-stage-1" : " ^6.3.13" ,
47
+ "babel-plugin-add-module-exports" : " ^0.1.2" ,
47
48
"eslint" : " ^1.10.3" ,
48
49
"eslint-config-airbnb" : " ^0.1.1" ,
49
50
"eslint-loader" : " ^1.2.1" ,
You can’t perform that action at this time.
0 commit comments