Use es2015-loose and react babel presets

This commit is contained in:
Colin Meinke 2015-12-14 17:18:34 -06:00
parent c66e352efe
commit ac48eb35b3
6 changed files with 28 additions and 31 deletions

View File

@ -1,4 +1,3 @@
{
"plugins": ["transform-react-jsx"],
"presets": ["es2015", "stage-0"]
"presets": ["es2015-loose", "stage-0", "react"]
}

View File

@ -1,4 +1,3 @@
{
"plugins": ["transform-react-jsx"],
"presets": ["es2015", "stage-0"]
"presets": ["es2015-loose", "stage-0", "react"]
}

View File

@ -23,17 +23,17 @@
"redux-thunk": "^1.0.0"
},
"devDependencies": {
"babel-cli": "^6.1.2",
"babel-core": "^6.1.2",
"babel-loader": "^6.0.1",
"babel-plugin-transform-react-jsx": "^6.0.18",
"babel-preset-es2015": "^6.1.2",
"babel-preset-stage-0": "^6.1.2",
"babel-cli": "^6.3.17",
"babel-core": "^6.3.17",
"babel-loader": "^6.2.0",
"babel-preset-es2015-loose": "^6.1.3",
"babel-preset-react": "6.3.13",
"babel-preset-stage-0": "^6.3.13",
"node-libs-browser": "^0.5.2",
"react-hot-loader": "^1.3.0",
"redux-devtools": "^3.0.0-beta-3",
"redux-devtools-log-monitor": "^1.0.0-beta-3",
"redux-devtools-dock-monitor": "^1.0.0-beta-3",
"redux-devtools": "^3.0.0",
"redux-devtools-log-monitor": "^1.0.1",
"redux-devtools-dock-monitor": "^1.0.1",
"webpack": "^1.9.11",
"webpack-dev-server": "^1.9.0"
}

View File

@ -1,4 +1,3 @@
{
"plugins": ["transform-react-jsx"],
"presets": ["es2015", "stage-0"]
"presets": ["es2015-loose", "stage-0", "react"]
}

View File

@ -35,18 +35,18 @@
"redux": "^3.0.0"
},
"devDependencies": {
"babel-cli": "^6.1.2",
"babel-core": "^6.1.2",
"babel-loader": "^6.0.1",
"babel-plugin-transform-react-jsx": "^6.0.18",
"babel-preset-es2015": "^6.1.2",
"babel-preset-stage-0": "^6.1.2",
"babel-cli": "^6.3.17",
"babel-core": "^6.3.17",
"babel-loader": "^6.2.0",
"babel-preset-es2015-loose": "^6.1.3",
"babel-preset-react": "6.3.13",
"babel-preset-stage-0": "^6.3.13",
"node-libs-browser": "^0.5.2",
"raw-loader": "^0.5.1",
"react-hot-loader": "^1.3.0",
"redux-devtools": "^3.0.0-beta-3",
"redux-devtools-log-monitor": "^1.0.0-beta-3",
"redux-devtools-dock-monitor": "^1.0.0-beta-3",
"redux-devtools": "^3.0.0",
"redux-devtools-log-monitor": "^1.0.1",
"redux-devtools-dock-monitor": "^1.0.1",
"style-loader": "^0.12.3",
"todomvc-app-css": "^2.0.1",
"webpack": "^1.9.11",

View File

@ -31,13 +31,13 @@
},
"homepage": "https://github.com/gaearon/redux-devtools",
"devDependencies": {
"babel-cli": "^6.1.2",
"babel-core": "^6.1.2",
"babel-eslint": "^4.1.4",
"babel-loader": "^6.0.1",
"babel-plugin-transform-react-jsx": "^6.0.18",
"babel-preset-es2015": "^6.1.2",
"babel-preset-stage-0": "^6.1.2",
"babel-cli": "^6.3.17",
"babel-core": "^6.3.17",
"babel-eslint": "^4.1.6",
"babel-loader": "^6.2.0",
"babel-preset-es2015-loose": "^6.1.3",
"babel-preset-react": "6.3.13",
"babel-preset-stage-0": "^6.3.13",
"eslint": "^0.23",
"eslint-config-airbnb": "0.0.6",
"eslint-plugin-react": "^2.3.0",