Files
frontend-app-discussions/package.json
Maxim Beder 929c859046 feat: Add pagination to posts' comments
This change adds pagination to posts' comments.

When viewing a post, if there are more than one page of comments,
initially users will only see the first page of the comments, and can
load more comments by clicking "load more comments" button.

This change only affects comments to posts. For comments that are
responses to other comments the pagination has not been implemented.
2021-09-24 14:13:06 +02:00

76 lines
2.2 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.6",
"@edx/paragon": "16.13.2",
"@reduxjs/toolkit": "1.6.1",
"@tinymce/tinymce-react": "3.12.6",
"babel-polyfill": "6.26.0",
"core-js": "3.17.3",
"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",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "12.1.0",
"axios-mock-adapter": "1.20.0",
"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.2.0",
"reactifex": "1.1.1",
"rosie": "2.1.0"
}
}