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 5, 2019
1 parent 2651d58 commit 8a73d2e
Show file tree
Hide file tree
Showing 2 changed files with 4,720 additions and 3,160 deletions.
24 changes: 15 additions & 9 deletions src/app/package.json
Expand Up @@ -10,8 +10,8 @@
"axios": "0.18.0",
"core-js": "2.6.4",
"file-saver": "2.0.0",
"json2csv": "4.1.6",
"immutability-helper": "2.9.0",
"json2csv": "4.1.6",
"lodash": "4.17.11",
"mapbox-gl": "0.52.0",
"papaparse": "4.6.3",
Expand All @@ -23,7 +23,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 @@ -38,7 +38,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",
"deploy": "npm run build && firebase deploy"
Expand All @@ -48,12 +48,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"
]
}

0 comments on commit 8a73d2e

Please sign in to comment.