Skip to content

Commit 18e3c12

Browse files
committed
Release 0.2.2
1 parent 758878e commit 18e3c12

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.babelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
],
77
"plugins": [
88
"transform-decorators",
9-
"transform-class-properties"
9+
"transform-class-properties",
10+
"add-module-exports"
1011
]
1112
}

dist/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,5 @@ GoogleAnalytics.propTypes = {
148148
GoogleAnalytics.contextTypes = {
149149
router: _react.PropTypes.object.isRequired
150150
};
151-
exports.default = GoogleAnalytics;
151+
exports.default = GoogleAnalytics;
152+
module.exports = exports['default'];

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-g-analytics",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "React google analytics with support for react-router",
55
"author": {
66
"name": "Zlatko Fedor",
@@ -44,6 +44,7 @@
4444
"babel-preset-react": "^6.3.13",
4545
"babel-preset-stage-0": "^6.3.13",
4646
"babel-preset-stage-1": "^6.3.13",
47+
"babel-plugin-add-module-exports": "^0.1.2",
4748
"eslint": "^1.10.3",
4849
"eslint-config-airbnb": "^0.1.1",
4950
"eslint-loader": "^1.2.1",

0 commit comments

Comments
 (0)