[go: nahoru, domu]

Skip to content

Commit

Permalink
Update to babel 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
twisty committed Oct 8, 2018
1 parent 54d731b commit e773b27
Show file tree
Hide file tree
Showing 3 changed files with 1,929 additions and 350 deletions.
10 changes: 8 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"plugins": ["transform-class-properties"],
"presets": ["env", "react"]
"plugins": [
"@babel/plugin-proposal-class-properties"
],
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-flow"
]
}
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,19 @@
"transpile": "yarn run clean-dist && NODE_ENV=production babel ./src --out-dir ./dist"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.0.0",
"@storybook/addon-backgrounds": "^3.4.10",
"@storybook/addon-knobs": "^3.4.10",
"@storybook/addons": "^3.4.11",
"@storybook/react": "^3.4.10",
"@storybook/storybook-deployer": "^2.3.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-runtime": "^6.26.0",
"babel-core": "^7.0.0-bridge.0",
"flow-bin": "^0.81.0",
"flow-coverage-report": "^0.6.0",
"prettier": "1.14.2",
Expand Down
Loading

0 comments on commit e773b27

Please sign in to comment.