This change adds the TinyMCE editor for editing posts and connects the post editor to the API, allowing adding new posts and editing existing ones.
72 lines
2.0 KiB
JSON
72 lines
2.0 KiB
JSON
{
|
|
"name": "@edx/frontend-app-discussions",
|
|
"version": "0.1.0",
|
|
"description": "Discussions Frontend",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/edx/frontend-app-discussions.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 --ext .js --ext .jsx . --fix",
|
|
"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-discussions#readme",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/edx/frontend-app-discussions/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.5",
|
|
"@edx/paragon": "16.12.0",
|
|
"@reduxjs/toolkit": "1.6.1",
|
|
"@tinymce/tinymce-react": "3.12.6",
|
|
"babel-polyfill": "6.26.0",
|
|
"core-js": "3.17.2",
|
|
"formik": "2.2.6",
|
|
"lodash.snakecase": "4.1.1",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.14.0",
|
|
"react-dom": "16.14.0",
|
|
"react-redux": "7.2.5",
|
|
"react-router": "5.2.1",
|
|
"react-router-dom": "5.3.0",
|
|
"redux": "4.1.1",
|
|
"regenerator-runtime": "0.13.9",
|
|
"timeago.js": "4.0.2",
|
|
"tinymce": "5.9.1",
|
|
"yup": "0.31.1"
|
|
},
|
|
"devDependencies": {
|
|
"@edx/frontend-build": "8.0.4",
|
|
"codecov": "3.8.3",
|
|
"es-check": "5.2.3",
|
|
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
"glob": "7.1.7",
|
|
"husky": "7.0.2",
|
|
"jest": "27.1.0",
|
|
"reactifex": "1.1.1"
|
|
}
|
|
}
|