This commit installs version 1.21.0 of @edx/frontend-lib-learning-assistant. This commit also refactors the Chat tests to assert on whether the Xpert component is rendered by the Chat component, not whether Xpert actually renders. This is because Xpert now has its own logic to determine whether to render. This release uses a new GET endpoint published on the Learning Assistant backend to determine whether the Learning Assistant feature is enabled. If the features is not enabled, the Learning Assistant is not rendered, and vice-versa.
86 lines
2.8 KiB
JSON
86 lines
2.8 KiB
JSON
{
|
|
"name": "@edx/frontend-app-learning",
|
|
"version": "1.0.0-semantically-released",
|
|
"description": "Frontend learning application.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/openedx/frontend-app-learning.git"
|
|
},
|
|
"browserslist": [
|
|
"extends @edx/browserslist-config"
|
|
],
|
|
"scripts": {
|
|
"build": "fedx-scripts webpack",
|
|
"i18n_extract": "BABEL_ENV=i18n fedx-scripts babel src --quiet > /dev/null",
|
|
"lint": "fedx-scripts eslint --ext .js --ext .jsx .",
|
|
"lint:fix": "fedx-scripts eslint --fix --ext .js --ext .jsx .",
|
|
"prepare": "husky install",
|
|
"snapshot": "fedx-scripts jest --updateSnapshot",
|
|
"start": "fedx-scripts webpack-dev-server --progress",
|
|
"test": "fedx-scripts jest --coverage --passWithNoTests"
|
|
},
|
|
"author": "edX",
|
|
"license": "AGPL-3.0",
|
|
"homepage": "https://github.com/openedx/frontend-app-learning#readme",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/openedx/frontend-app-learning/issues"
|
|
},
|
|
"dependencies": {
|
|
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
|
|
"@edx/frontend-component-footer": "12.2.1",
|
|
"@edx/frontend-component-header": "4.6.0",
|
|
"@edx/frontend-lib-special-exams": "2.27.0",
|
|
"@edx/frontend-lib-learning-assistant": "^1.21.0",
|
|
"@edx/frontend-platform": "5.5.2",
|
|
"@edx/openedx-atlas": "^0.6.0",
|
|
"@edx/paragon": "20.46.0",
|
|
"@edx/react-unit-test-utils": "npm:@edx/react-unit-test-utils@1.7.0",
|
|
"@fortawesome/fontawesome-svg-core": "1.3.0",
|
|
"@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.4",
|
|
"@popperjs/core": "2.11.8",
|
|
"@reduxjs/toolkit": "1.8.1",
|
|
"classnames": "2.3.2",
|
|
"core-js": "3.22.2",
|
|
"history": "5.3.0",
|
|
"joi": "^17.11.0",
|
|
"js-cookie": "3.0.5",
|
|
"lodash.camelcase": "4.3.0",
|
|
"prop-types": "15.8.1",
|
|
"query-string": "^7.1.3",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2",
|
|
"react-helmet": "6.1.0",
|
|
"react-redux": "7.2.9",
|
|
"react-router": "6.15.0",
|
|
"react-router-dom": "6.15.0",
|
|
"react-share": "4.4.1",
|
|
"redux": "4.1.2",
|
|
"regenerator-runtime": "0.13.11",
|
|
"reselect": "4.1.8",
|
|
"truncate-html": "1.0.4",
|
|
"util": "0.12.5"
|
|
},
|
|
"devDependencies": {
|
|
"@edx/browserslist-config": "1.2.0",
|
|
"@edx/frontend-build": "^12.9.10",
|
|
"@edx/reactifex": "2.2.0",
|
|
"@pact-foundation/pact": "^11.0.2",
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/react": "12.1.5",
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
"@testing-library/user-event": "13.5.0",
|
|
"axios-mock-adapter": "1.20.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"es-check": "6.2.1",
|
|
"husky": "7.0.4",
|
|
"jest": "29.5.0",
|
|
"rosie": "2.1.1"
|
|
}
|
|
}
|