Skip to content

Commit

Permalink
upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rommguy committed Feb 10, 2020
1 parent 93ac1da commit 21adba2
Show file tree
Hide file tree
Showing 9 changed files with 3,088 additions and 2,710 deletions.
7 changes: 2 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"presets": [
"react",
"env",
"stage-1"
]
"presets": ["@babel/preset-react", "@babel/preset-env"],
"plugins": ["@babel/plugin-proposal-class-properties"]
}
31 changes: 14 additions & 17 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,8 @@
"no-const-assign": 2,
"prefer-spread": 0,
"prefer-template": 2,
"arrow-body-style": [
2,
"as-needed"
],
"arrow-parens": [
2,
"as-needed"
],
"arrow-body-style": [2, "as-needed"],
"arrow-parens": [2, "as-needed"],
"arrow-spacing": [
2,
{
Expand All @@ -33,22 +27,20 @@
"react/no-did-mount-set-state": 2,
"react/no-did-update-set-state": 2,
"react/no-unknown-property": 2,
"react/prop-types": [2, {
"ignore": [
"children"
]
}],
"react/prop-types": [
2,
{
"ignore": ["children"]
}
],
"react/no-unused-prop-types": 2,
"react/sort-comp": 2,
"react/self-closing-comp": 2,
"react/jsx-wrap-multilines": 2,
"react/jsx-key": 2,
"react/jsx-pascal-case": 2
},
"plugins": [
"lodash",
"react"
],
"plugins": ["lodash", "react"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
Expand All @@ -61,5 +53,10 @@
"env": {
"browser": true,
"commonjs": true
},
"settings": {
"react": {
"version": "16.12"
}
}
}
57 changes: 1 addition & 56 deletions dist/customScroll.css

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

2 changes: 1 addition & 1 deletion dist/reactCustomScroll.js

Large diffs are not rendered by default.

28 changes: 2 additions & 26 deletions example/exampleDist/example.js

Large diffs are not rendered by default.

13 changes: 5 additions & 8 deletions example/styles.css

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,38 +23,38 @@
"homepage": "https://github.com/rommguy/react-custom-scroll#readme",
"dependencies": {},
"devDependencies": {
"@types/react-dom": "^16.8.4",
"autoprefixer": "6.3.6",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"babel-runtime": "^6.26.0",
"css-loader": "^3.2.0",
"eslint": "^6.2.2",
"eslint-plugin-lodash": "5.1.0",
"eslint-plugin-react": "^7.14.0",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@babel/runtime": "^7.8.4",
"@types/react-dom": "^16.9.5",
"autoprefixer": "^9.7.4",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"css-loader": "^3.4.2",
"eslint": "^6.8.0",
"eslint-plugin-lodash": "^6.0.0",
"eslint-plugin-react": "^7.18.3",
"extract-text-webpack-plugin": "4.0.0-beta.0",
"jasmine": "^3.1.0",
"jasmine-core": "^3.1.0",
"karma": "^4.1.0",
"karma-chrome-launcher": "2.2.0",
"karma-jasmine": "^2.0.1",
"karma-sourcemap-loader": "0.3.7",
"jasmine": "^3.5.0",
"jasmine-core": "^3.5.0",
"karma": "^4.4.1",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^3.1.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2",
"lodash": "^4.17.10",
"node-sass": "4.12.0",
"postcss-cli": "2.5.1",
"prettier": "^1.18.2",
"prop-types": "15.5.8",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"sass-loader": "^7.0.1",
"style-loader": "^0.21.0",
"webpack": "^4.8.3",
"webpack-cli": "^3.3.7"
"lodash": "^4.17.15",
"node-sass": "^4.13.1",
"postcss-cli": "^7.1.0",
"prettier": "^1.19.1",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"sass-loader": "^8.0.2",
"style-loader": "^1.1.3",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"resolutions": {
"**/**/fsevents": "^1.2.9"
Expand Down
2 changes: 1 addition & 1 deletion src/main/customScroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,4 @@ CustomScroll.defaultProps = {
minScrollHandleHeight: 38
}

module.exports = CustomScroll
export default CustomScroll
Loading

0 comments on commit 21adba2

Please sign in to comment.