During our CI checks on PRs, we check to see if all code can be properly transpiled into es5 to support IE11. We've since dropped support officially for IE11, but the check is still present. A dependency of TinyMCE is triggering an error in the is-es5 check. Adding this webpack config will except the package from the check, to prevent the CI from failing. Since we no longer support IE11, This check is not needed, and ok to bypass.
68 lines
2.0 KiB
JSON
68 lines
2.0 KiB
JSON
{
|
|
"name": "@edx/frontend-app-communications",
|
|
"version": "0.1.0",
|
|
"description": "Frontend application template",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/edx/frontend-app-communications.git"
|
|
},
|
|
"browserslist": [
|
|
"last 2 versions",
|
|
"ie 11"
|
|
],
|
|
"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 .",
|
|
"lint:fix": "fedx-scripts eslint --fix --ext .js --ext .jsx .",
|
|
"snapshot": "fedx-scripts jest --updateSnapshot",
|
|
"start": "fedx-scripts webpack-dev-server --progress",
|
|
"test": "fedx-scripts jest --coverage --passWithNoTests"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint"
|
|
}
|
|
},
|
|
"author": "edX",
|
|
"license": "AGPL-3.0",
|
|
"homepage": "https://github.com/edx/frontend-app-communications#readme",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/edx/frontend-app-communications/issues"
|
|
},
|
|
"dependencies": {
|
|
"@edx/brand": "npm:@edx/brand-openedx@1.1.0",
|
|
"@edx/frontend-component-footer": "10.1.6",
|
|
"@edx/frontend-component-header": "2.3.0",
|
|
"@edx/frontend-platform": "1.12.7",
|
|
"@edx/paragon": "16.3.2",
|
|
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
|
"@fortawesome/free-brands-svg-icons": "5.15.4",
|
|
"@fortawesome/free-regular-svg-icons": "5.15.4",
|
|
"@fortawesome/free-solid-svg-icons": "5.15.4",
|
|
"@fortawesome/react-fontawesome": "0.1.16",
|
|
"core-js": "3.15.2",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.14.0",
|
|
"react-dom": "16.14.0",
|
|
"react-redux": "7.2.6",
|
|
"react-router": "5.2.1",
|
|
"react-router-dom": "5.3.0",
|
|
"redux": "4.1.2",
|
|
"regenerator-runtime": "0.13.9"
|
|
},
|
|
"devDependencies": {
|
|
"@edx/frontend-build": "8.1.6",
|
|
"codecov": "3.8.3",
|
|
"es-check": "6.1.1",
|
|
"glob": "7.2.0",
|
|
"husky": "7.0.4",
|
|
"jest": "27.3.1",
|
|
"reactifex": "1.1.1"
|
|
}
|
|
}
|