Skip to content

Commit

Permalink
Enable the library to be required by NodeJS
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasgarcep committed Jan 26, 2016
1 parent 1d4869a commit 248f126
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"presets": ["react", "es2015"],
"plugins": ["add-module-exports"],
"env": {
"development": {
"presets": ["react-hmre"]
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"babel-core": "^6.4.0",
"babel-eslint": "^4.1.6",
"babel-loader": "^6.2.1",
"babel-plugin-add-module-exports": "^0.1.2",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-react-hmre": "^1.0.1",
Expand Down

0 comments on commit 248f126

Please sign in to comment.