Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Commit

Permalink
Add transform runtime for #3
Browse files Browse the repository at this point in the history
  • Loading branch information
chibicode committed Feb 11, 2016
1 parent 9bf35d6 commit b847767
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"plugins": ["transform-decorators-legacy"],
"plugins": ["transform-decorators-legacy", "transform-runtime"],
"presets": ["es2015-loose", "stage-0", "react"]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/index.js",
"scripts": {
"clean": "rimraf lib",
"build": "babel src --optional runtime --out-dir lib",
"build": "babel src --out-dir lib",
"lint": "eslint src test examples",
"test": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive",
"test:watch": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive --watch",
Expand Down Expand Up @@ -51,6 +51,7 @@
"react": "^0.14.0"
},
"dependencies": {
"babel-plugin-transform-runtime": "^6.5.0",
"babel-runtime": "^6.3.13",
"react-mixin": "^1.7.0"
}
Expand Down

0 comments on commit b847767

Please sign in to comment.