Skip to content

Commit

Permalink
- Updated babel libraries for makeing the npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
Manu committed Jan 29, 2019
1 parent 0bb26f6 commit 3d32701
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
13 changes: 5 additions & 8 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"presets": ["es2015"],
"presets": [
"@babel/env",
"@babel/react"
],
"plugins": [
"transform-class-properties",
"transform-react-jsx",
"transform-object-rest-spread",
["module-resolver", {
"root": ["./src"],
}],
["import-rename", {"^(.*)\\.jsx$": "$1"}]
"@babel/plugin-proposal-class-properties"
]
}
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- https://github.com/creativetimofficial/material-kit-react/issues/46
- https://github.com/creativetimofficial/material-kit-react/issues/44
- Updated available scripts
- Changed the *.babelrc* file
### Major style changes
- **src/assets/jss/material-kit-react/components/headerStyle.jsx**
- **src/assets/jss/material-kit-react/components/customDropdownStyle.jsx**
Expand All @@ -14,8 +15,17 @@
- `eslint-plugin-react`
- `prettier`
- `npm-run-all`
- `babel-cli`
- `babel-plugin-module-resolver`
- `babel-plugin-import-rename`
- `babel-plugin-transform-object-rest-spread`
- `babel-plugin-transform-react-jsx`
- `babel-preset-es2015`
### Added dependencies
-
- `@babel/cli` version: **7.2.3**
- `@babel/plugin-proposal-class-properties` version: **7.3.0**
- `@babel/preset-env` version: **7.3.1**
- `@babel/preset-react` version: **7.0.0**
### Updated dependencies
- `@material-ui/core` *3.1.1***3.9.1**
- `@material-ui/icons` *3.0.1***3.0.2**
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
"react-swipeable-views": "0.13.1"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-plugin-module-resolver": "3.1.3",
"babel-plugin-import-rename": "1.0.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-react-jsx": "6.24.1",
"babel-preset-es2015": "6.24.1"
"@babel/cli": "7.2.3",
"@babel/plugin-proposal-class-properties": "7.3.0",
"@babel/preset-env": "7.3.1",
"@babel/preset-react": "7.0.0"
},
"optionalDependencies": {
"eslint-config-prettier": "4.0.0",
Expand Down

0 comments on commit 3d32701

Please sign in to comment.