Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Upgrade react-scripts, eslint, related items
Browse files Browse the repository at this point in the history
This more recent version of react-scripts includes securty
updates, but also requires newer versions of eslint, as well
as the new browserslist key in package.json, which are currently
filled with default values.

The very latest version of react-script, 2.1.5, has a bug
that causes styles to not load correctly in the development
envrionment facebook/create-react-app#6399, so we use the
most recent version without that bug, namely 2.1.3.
  • Loading branch information
rajadain committed Mar 6, 2019
1 parent 7872af2 commit ba81615
Show file tree
Hide file tree
Showing 2 changed files with 4,755 additions and 3,163 deletions.
23 changes: 15 additions & 8 deletions src/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"core-js": "2.6.4",
"file-saver": "2.0.0",
"immutability-helper": "2.9.0",
"json2csv": "4.1.6",
"lodash": "4.17.11",
"mapbox-gl": "0.52.0",
"prop-types": "15.6.2",
Expand All @@ -21,7 +22,7 @@
"react-redux": "5.1.0",
"react-router": "4.3.1",
"react-router-dom": "4.3.1",
"react-scripts": "1.1.4",
"react-scripts": "2.1.3",
"react-select": "2.3.0",
"react-toastify": "4.1.0",
"redux": "4.0.0",
Expand All @@ -36,7 +37,7 @@
"scripts": {
"start": "PORT=6543 react-scripts start",
"build": "react-scripts build",
"test": "CI=1 react-scripts test",
"test": "CI=1 react-scripts test --env=node",
"lint": "eslint src/ --ext .js --ext .jsx",
"eject": "react-scripts eject"
},
Expand All @@ -45,12 +46,18 @@
"@babel/core": "7.0.0-beta.49",
"@babel/preset-env": "7.0.0-beta.49",
"babel-plugin-lodash": "3.3.3",
"eslint": "4.19.1",
"eslint-config-airbnb": "16.1.0",
"eslint-plugin-import": "2.13.0",
"eslint": "5.6.0",
"eslint-config-airbnb": "17.1.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jest": "21.27.2",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-react": "7.10.0"
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.11.1"
},
"proxy": "http://django:8081"
"proxy": "http://django:8081",
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
Loading

0 comments on commit ba81615

Please sign in to comment.