Skip to content

Commit 371ac70

Browse files
committed
update to babel6
1 parent 72ff4e3 commit 371ac70

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

.babelrc

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"stage": 0,
3-
"loose": "all",
2+
"presets": ["es2015", "react", "stage-0"],
43
"plugins": ["lodash"]
54
}

lib/AbsoluteGrid.jsx

-7
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,3 @@ export default function createAbsoluteGrid(DisplayObject, displayProps = {}, for
165165

166166
}
167167
}
168-
169-
/*
170-
171-
AbsoluteGrid.;
172-
173-
AbsoluteGrid.
174-
*/

package.json

+11-8
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,17 @@
2121
"license": "MIT",
2222
"dependencies": {},
2323
"devDependencies": {
24-
"babel-core": "^5.4.7",
25-
"babel-eslint": "^3.1.9",
26-
"babel-loader": "^5.1.3",
27-
"babel-plugin-lodash": "^0.2.0",
28-
"eslint": "^0.21.2",
29-
"eslint-plugin-react": "^2.4.0",
30-
"lodash": "^3.10.1",
31-
"node-libs-browser": "^0.5.2",
24+
"babel-core": "^6.23.1",
25+
"babel-eslint": "^7.1.1",
26+
"babel-loader": "^6.3.2",
27+
"babel-plugin-lodash": "^3.2.11",
28+
"babel-preset-es2015": "^6.22.0",
29+
"babel-preset-react": "^6.23.0",
30+
"babel-preset-stage-0": "^6.22.0",
31+
"eslint": "^3.17.0",
32+
"eslint-plugin-react": "^6.10.0",
33+
"lodash": "^4.17.1",
34+
"node-libs-browser": "^2.0.0",
3235
"react": "^15.4.2",
3336
"react-addons-perf": "^15.4.2",
3437
"react-dom": "^15.4.2",

0 commit comments

Comments
 (0)