build: use shared browserslist configuration (#660)

This commit is contained in:
Zainab Amir
2022-11-11 14:27:38 +05:00
committed by GitHub
parent 4f91b30ee1
commit 81f3dbf584
3 changed files with 15 additions and 1004 deletions

View File

@@ -7,13 +7,11 @@
"url": "git+https://github.com/openedx/frontend-app-authn.git"
},
"browserslist": [
"last 2 versions",
"ie 11"
"extends @edx/browserslist-config"
],
"scripts": {
"build": "fedx-scripts webpack",
"i18n_extract": "BABEL_ENV=i18n fedx-scripts babel src --quiet > /dev/null",
"is-es5": "es-check es5 ./dist/*.js",
"lint": "fedx-scripts eslint --ext .js --ext .jsx .",
"snapshot": "fedx-scripts jest --updateSnapshot",
"start": "fedx-scripts webpack-dev-server --progress",
@@ -74,13 +72,13 @@
"universal-cookie": "4.0.4"
},
"devDependencies": {
"@edx/browserslist-config": "^1.1.1",
"@edx/frontend-build": "11.0.2",
"@edx/reactifex": "1.1.0",
"babel-plugin-formatjs": "10.3.28",
"codecov": "3.8.2",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"es-check": "6.2.1",
"eslint-plugin-import": "2.26.0",
"glob": "7.2.3",
"history": "5.3.0",