Migrate from Redux to React Query and React Context. This modernizes state management while maintaining all existing functionality. All the redux code and files were removed, including all redux and related packages.
78 lines
2.6 KiB
JSON
Executable File
78 lines
2.6 KiB
JSON
Executable File
{
|
|
"name": "@edx/frontend-app-learner-dashboard",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/edx/frontend-app-learner-dashboard.git"
|
|
},
|
|
"browserslist": [
|
|
"extends @edx/browserslist-config"
|
|
],
|
|
"scripts": {
|
|
"build": "fedx-scripts webpack",
|
|
"i18n_extract": "fedx-scripts formatjs extract",
|
|
"lint": "fedx-scripts eslint --ext .jsx,.js src/",
|
|
"lint-fix": "fedx-scripts eslint --fix --ext .jsx,.js src/",
|
|
"semantic-release": "semantic-release",
|
|
"start": "fedx-scripts webpack-dev-server --progress",
|
|
"dev": "PUBLIC_PATH=/learner-dashboard/ MFE_CONFIG_API_URL='http://localhost:8000/api/mfe_config/v1' fedx-scripts webpack-dev-server --progress --host apps.local.openedx.io",
|
|
"test": "TZ=GMT fedx-scripts jest --coverage --passWithNoTests",
|
|
"quality": "npm run lint-fix && npm run test",
|
|
"watch-tests": "jest --watch",
|
|
"types": "tsc --noEmit"
|
|
},
|
|
"author": "edX",
|
|
"license": "AGPL-3.0",
|
|
"homepage": "",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"dependencies": {
|
|
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
|
|
"@edx/frontend-component-footer": "^14.6.0",
|
|
"@edx/frontend-component-header": "^8.0.0",
|
|
"@edx/frontend-enterprise-hotjar": "7.2.0",
|
|
"@edx/frontend-platform": "^8.3.1",
|
|
"@edx/openedx-atlas": "^0.7.0",
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
|
"@fortawesome/free-brands-svg-icons": "^5.15.4",
|
|
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
"@openedx/frontend-plugin-framework": "^1.7.0",
|
|
"@openedx/paragon": "^23.4.5",
|
|
"@tanstack/react-query": "^5.90.16",
|
|
"classnames": "^2.3.1",
|
|
"core-js": "3.48.0",
|
|
"font-awesome": "4.7.0",
|
|
"history": "5.3.0",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.29.4",
|
|
"prop-types": "15.8.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-helmet": "^6.1.0",
|
|
"react-intl": "6.8.9",
|
|
"react-router-dom": "6.30.3",
|
|
"react-share": "^5.2.2",
|
|
"regenerator-runtime": "^0.14.0",
|
|
"util": "^0.12.4"
|
|
},
|
|
"devDependencies": {
|
|
"@edx/browserslist-config": "^1.3.0",
|
|
"@edx/typescript-config": "^1.1.0",
|
|
"@openedx/frontend-build": "^14.6.2",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.2.0",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"copy-webpack-plugin": "^13.0.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jest-expect-message": "^1.1.3",
|
|
"jest-when": "^3.6.0",
|
|
"react-dev-utils": "^12.0.0",
|
|
"react-test-renderer": "^18.3.1"
|
|
}
|
|
}
|