Skip to content

Commit

Permalink
chore: Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Dec 12, 2019
1 parent f789bbf commit 0d61a9f
Show file tree
Hide file tree
Showing 6 changed files with 1,563 additions and 1,261 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@
"prettier/prettier": "error",
"react/require-default-props": "off",
"react/jsx-filename-extension": ["error", { "extensions": [".js"] }],
"react/jsx-props-no-spreading": "off",
"react/forbid-prop-types": "off",
"react/prefer-stateless-function": "off",
"react/sort-comp": "off",
"react/static-property-placement": "off",
"react/state-in-constructor": "off",
"jsx-a11y/no-static-element-interactions": "off",
"import/no-extraneous-dependencies": [
"error",
Expand Down
31 changes: 15 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,44 +66,43 @@
"babel-loader": "^8.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.15",
"conventional-github-releaser": "^3.1.2",
"cross-env": "^5.2.0",
"css-loader": "^2.1.0",
"cross-env": "^6.0.3",
"css-loader": "^3.3.2",
"enzyme": "^3.5.0",
"enzyme-adapter-react-16": "^1.3.0",
"eslint": "^5.4.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint": "^6.7.2",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.11.1",
"file-loader": "^3.0.1",
"file-loader": "^5.0.2",
"hoist-non-react-statics": "^3.0.1",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"husky": "^3.1.0",
"jest": "^24.1.0",
"less": "^3.8.1",
"less-loader": "^4.1.0",
"lint-staged": "^8.1.0",
"mini-css-extract-plugin": "^0.5.0",
"less-loader": "^5.0.0",
"lint-staged": "^9.5.0",
"mini-css-extract-plugin": "^0.8.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.2",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-live": "^1.11.0",
"react-modal": "^3.5.1",
"react-test-renderer": "^16.4.2",
"rimraf": "^2.6.2",
"rimraf": "^3.0.0",
"rollup": "^1.0.1",
"rollup-plugin-babel": "^4.0.2",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-ignore": "^1.0.3",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^6.0.0",
"standard-version": "^4.4.0",
"uglifyjs-webpack-plugin": "^2.1.1",
"rollup-plugin-terser": "^5.1.3",
"standard-version": "^7.0.1",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.7"
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import babel from 'rollup-plugin-babel';
import nodeResolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import replace from 'rollup-plugin-replace';
import { uglify } from 'rollup-plugin-uglify';
import { terser } from 'rollup-plugin-terser';
import ignore from 'rollup-plugin-ignore';

const devConfig = {
Expand Down Expand Up @@ -47,7 +47,7 @@ const productionConfig = {
replace({
'process.env.NODE_ENV': JSON.stringify('production'),
}),
uglify(),
terser(),
],
external: ['react'],
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/UncontrolledTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ export default class UncontrolledTabs extends Component {

handleClick = e => {
let node = e.target;
// eslint-disable-next-line no-cond-assign
do {
if (this.isTabFromContainer(node)) {
if (isTabDisabled(node)) {
Expand All @@ -312,6 +311,7 @@ export default class UncontrolledTabs extends Component {
this.setSelected(index, e);
return;
}
// eslint-disable-next-line no-cond-assign
} while ((node = node.parentNode) != null);
};

Expand Down
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const webpack = require('webpack');
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');

const sourceDirectory = path.resolve(__dirname, 'examples/src');
const targetDirectory = path.resolve(__dirname, 'examples/dist');
Expand Down Expand Up @@ -71,6 +70,9 @@ module.exports = {
use: [
{
loader: 'file-loader',
options: {
esModule: false,
},
},
],
sideEffects: true,
Expand Down
Loading

0 comments on commit 0d61a9f

Please sign in to comment.