- This uses a new function in frontend-platform 1.9.0 that sets up a mock application for use in test suites. - The ProctoredExamSettings.test.jsx tests have been refactored to use axios-mock-adapter and initializeMockApp. - A tweak was made to ProctoredExamSettings to use error.response.status instead of error.customAttributes.httpErrorStatus - the former is a more canonical way of getting at this data, rather than using the customAttributes object we add to our errors. It also means the code will work with the MockAuthService instead of AxiosJwtAuthService. - Removing axios dev dependency - we don’t need it anymore!
77 lines
2.2 KiB
JSON
77 lines
2.2 KiB
JSON
{
|
|
"name": "@edx/frontend-app-course-authoring",
|
|
"version": "0.1.0",
|
|
"description": "Frontend application template",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/edx/frontend-app-course-authoring.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 .",
|
|
"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-course-authoring#readme",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/edx/frontend-app-course-authoring/issues"
|
|
},
|
|
"dependencies": {
|
|
"@edx/brand": "npm:@edx/brand-openedx@1.1.0",
|
|
"@edx/frontend-component-footer": "10.0.11",
|
|
"@edx/frontend-platform": "1.9.0",
|
|
"@edx/paragon": "13.13.5",
|
|
"@fortawesome/fontawesome-svg-core": "1.2.28",
|
|
"@fortawesome/free-brands-svg-icons": "5.11.2",
|
|
"@fortawesome/free-regular-svg-icons": "5.11.2",
|
|
"@fortawesome/free-solid-svg-icons": "5.11.2",
|
|
"@fortawesome/react-fontawesome": "0.1.9",
|
|
"@reduxjs/toolkit": "1.5.0",
|
|
"classnames": "2.2.6",
|
|
"core-js": "3.8.1",
|
|
"email-validator": "2.0.4",
|
|
"formik": "2.2.6",
|
|
"moment": "2.27.0",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.14.0",
|
|
"react-dom": "16.14.0",
|
|
"react-redux": "7.1.3",
|
|
"react-responsive": "8.1.0",
|
|
"react-router": "5.1.2",
|
|
"react-router-dom": "5.1.2",
|
|
"react-transition-group": "4.4.1",
|
|
"redux": "4.0.5",
|
|
"regenerator-runtime": "0.13.7",
|
|
"yup": "0.31.1"
|
|
},
|
|
"devDependencies": {
|
|
"@edx/frontend-build": "5.6.9",
|
|
"@testing-library/react": "10.4.7",
|
|
"axios-mock-adapter": "1.18.1",
|
|
"codecov": "3.7.1",
|
|
"es-check": "5.1.0",
|
|
"glob": "7.1.6",
|
|
"husky": "3.1.0",
|
|
"jest": "24.9.0",
|
|
"react-test-renderer": "16.9.0",
|
|
"reactifex": "1.1.1"
|
|
}
|
|
}
|