Introduces the ability to utilize SPA functionality when the relevant waffle flags are enabled for current MFE pages. When any new MFE page is loaded, a request is made to retrieve the waffle flags. This includes both global waffle flags related to MFE Authoring pages, as well as waffle flags specific to the current course.
131 lines
5.0 KiB
JSON
131 lines
5.0 KiB
JSON
{
|
|
"name": "@edx/frontend-app-authoring",
|
|
"version": "0.1.0",
|
|
"description": "Frontend application template",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/openedx/frontend-app-authoring.git"
|
|
},
|
|
"browserslist": [
|
|
"extends @edx/browserslist-config"
|
|
],
|
|
"scripts": {
|
|
"build": "fedx-scripts webpack",
|
|
"i18n_extract": "fedx-scripts formatjs extract",
|
|
"stylelint": "stylelint \"plugins/**/*.scss\" \"src/**/*.scss\" \"scss/**/*.scss\" --config .stylelintrc.json",
|
|
"lint": "npm run stylelint && fedx-scripts eslint --ext .js --ext .jsx --ext .ts --ext .tsx .",
|
|
"lint:fix": "npm run stylelint -- --fix && fedx-scripts eslint --fix --ext .js --ext .jsx --ext .ts --ext .tsx .",
|
|
"snapshot": "TZ=UTC fedx-scripts jest --updateSnapshot",
|
|
"start": "fedx-scripts webpack-dev-server --progress",
|
|
"start:with-theme": "paragon install-theme && npm start && npm install",
|
|
"dev": "PUBLIC_PATH=/authoring/ MFE_CONFIG_API_URL='http://localhost:8000/api/mfe_config/v1' fedx-scripts webpack-dev-server --progress --host apps.local.openedx.io",
|
|
"test": "TZ=UTC fedx-scripts jest --coverage --passWithNoTests",
|
|
"test:ci": "TZ=UTC fedx-scripts jest --silent --coverage --passWithNoTests",
|
|
"types": "tsc --noEmit"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint"
|
|
}
|
|
},
|
|
"author": "edX",
|
|
"license": "AGPL-3.0",
|
|
"homepage": "https://github.com/openedx/frontend-app-authoring#readme",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/openedx/frontend-app-authoring/issues"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/lang-html": "^6.0.0",
|
|
"@codemirror/lang-xml": "^6.0.0",
|
|
"@codemirror/lint": "^6.2.1",
|
|
"@codemirror/state": "^6.0.0",
|
|
"@codemirror/view": "^6.0.0",
|
|
"@dnd-kit/core": "^6.1.0",
|
|
"@dnd-kit/modifiers": "^7.0.0",
|
|
"@dnd-kit/sortable": "^8.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.3",
|
|
"@edx/browserslist-config": "1.2.0",
|
|
"@edx/frontend-component-footer": "^14.1.0",
|
|
"@edx/frontend-component-header": "^5.7.0",
|
|
"@edx/frontend-enterprise-hotjar": "^2.0.0",
|
|
"@edx/frontend-platform": "^8.0.3",
|
|
"@edx/openedx-atlas": "^0.6.0",
|
|
"@openedx-plugins/course-app-calculator": "file:plugins/course-apps/calculator",
|
|
"@openedx-plugins/course-app-edxnotes": "file:plugins/course-apps/edxnotes",
|
|
"@openedx-plugins/course-app-learning_assistant": "file:plugins/course-apps/learning_assistant",
|
|
"@openedx-plugins/course-app-live": "file:plugins/course-apps/live",
|
|
"@openedx-plugins/course-app-ora_settings": "file:plugins/course-apps/ora_settings",
|
|
"@openedx-plugins/course-app-proctoring": "file:plugins/course-apps/proctoring",
|
|
"@openedx-plugins/course-app-progress": "file:plugins/course-apps/progress",
|
|
"@openedx-plugins/course-app-teams": "file:plugins/course-apps/teams",
|
|
"@openedx-plugins/course-app-wiki": "file:plugins/course-apps/wiki",
|
|
"@openedx-plugins/course-app-xpert_unit_summary": "file:plugins/course-apps/xpert_unit_summary",
|
|
"@openedx/frontend-build": "^14.0.14",
|
|
"@openedx/frontend-plugin-framework": "^1.2.1",
|
|
"@openedx/paragon": "^22.8.1",
|
|
"@redux-devtools/extension": "^3.3.0",
|
|
"@reduxjs/toolkit": "1.9.7",
|
|
"@tanstack/react-query": "4.36.1",
|
|
"@tinymce/tinymce-react": "^3.14.0",
|
|
"classnames": "2.5.1",
|
|
"codemirror": "^6.0.0",
|
|
"email-validator": "2.0.4",
|
|
"fast-xml-parser": "^4.0.10",
|
|
"file-saver": "^2.0.5",
|
|
"formik": "2.4.6",
|
|
"frontend-components-tinymce-advanced-plugins": "^1.0.3",
|
|
"jszip": "^3.10.1",
|
|
"lodash": "4.17.21",
|
|
"meilisearch": "^0.41.0",
|
|
"moment": "2.30.1",
|
|
"moment-shortformat": "^2.1.0",
|
|
"npm": "^10.8.1",
|
|
"prop-types": "^15.8.1",
|
|
"react": "17.0.2",
|
|
"react-datepicker": "^4.13.0",
|
|
"react-dom": "17.0.2",
|
|
"react-error-boundary": "^4.0.13",
|
|
"react-helmet": "^6.1.0",
|
|
"react-onclickoutside": "^6.13.0",
|
|
"react-redux": "7.2.9",
|
|
"react-responsive": "9.0.2",
|
|
"react-router": "6.27.0",
|
|
"react-router-dom": "6.27.0",
|
|
"react-select": "5.8.0",
|
|
"react-textarea-autosize": "^8.5.3",
|
|
"react-transition-group": "4.4.5",
|
|
"redux": "4.0.5",
|
|
"redux-logger": "^3.0.6",
|
|
"redux-thunk": "^2.4.1",
|
|
"reselect": "^4.1.5",
|
|
"start": "^5.1.0",
|
|
"tinymce": "^5.10.4",
|
|
"universal-cookie": "^4.0.4",
|
|
"uuid": "^3.4.0",
|
|
"xmlchecker": "^0.1.0",
|
|
"yup": "0.31.1"
|
|
},
|
|
"devDependencies": {
|
|
"@edx/react-unit-test-utils": "3.0.0",
|
|
"@edx/stylelint-config-edx": "2.3.3",
|
|
"@edx/typescript-config": "^1.0.1",
|
|
"@testing-library/jest-dom": "5.17.0",
|
|
"@testing-library/react": "12.1.5",
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
"@testing-library/user-event": "^13.2.1",
|
|
"@types/lodash": "^4.17.7",
|
|
"axios-mock-adapter": "1.22.0",
|
|
"eslint-import-resolver-webpack": "^0.13.8",
|
|
"fetch-mock-jest": "^1.5.1",
|
|
"husky": "7.0.4",
|
|
"jest-canvas-mock": "^2.5.2",
|
|
"jest-expect-message": "^1.1.3",
|
|
"react-test-renderer": "17.0.2",
|
|
"redux-mock-store": "^1.5.4"
|
|
}
|
|
}
|