Skip to content

Commit

Permalink
match material-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan committed Oct 16, 2019
1 parent 5932a62 commit 907c260
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 7 deletions.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const path = require('path');


const defaultPresets = [
'@babel/preset-react',
[
Expand All @@ -17,6 +18,8 @@ const defaultPlugins = [
];

const productionPlugins = [
'babel-plugin-transform-react-constant-elements',
['@babel/plugin-transform-runtime', { useESModules: true }],
[
'transform-react-remove-prop-types',
{
Expand Down
42 changes: 36 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@
"watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive"
},
"dependencies": {
"@babel/runtime": "^7.6.3",
"chain-function": "^1.0.1",
"classnames": "^2.2.6",
"react-focus-lock": "^2.1.1",
"fundamental-styles": "~0.3.0-rc.4",
"hoist-non-react-statics": "^3.3.0",
"keycode": "^2.2.0",
"prop-types": "^15.7.1",
"react-foco": "^1.3.0",
"react-focus-lock": "^2.1.1",
"react-overlays": "^1.1.2",
"react-popper": "^1.3.3",
"shortid": "^2.2.14"
Expand All @@ -68,6 +69,7 @@
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-proposal-object-rest-spread": "^7.3.1",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-a11y": "^5.2.1",
Expand All @@ -81,6 +83,7 @@
"babel-jest": "^24.8.0",
"babel-loader": "8.0.6",
"babel-plugin-named-asset-import": "^0.3.2",
"babel-plugin-transform-react-constant-elements": "^6.23.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.23",
"babel-preset-react-app": "^9.0.0",
"bfj": "7.0.1",
Expand Down

0 comments on commit 907c260

Please sign in to comment.