3861e4b8ec
This PR accomplishes 2 things: 1. You can now add images to the rich text post of the example and see those images show up in the app. This is a good jumping off point for people who are learning how to customize the rich text renderers by adding custom components to the mapper. 2. Updating the README pictures to have a more up-to-date UI in the screenshots. ## Feature - [x] Documentation added ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint`
23 lines
558 B
JSON
23 lines
558 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"setup": "node ./contentful/setup.js $CONTENTFUL_SPACE_ID $CONTENTFUL_MANAGEMENT_TOKEN"
|
|
},
|
|
"dependencies": {
|
|
"@contentful/rich-text-react-renderer": "^15.4.0",
|
|
"classnames": "2.3.1",
|
|
"date-fns": "2.28.0",
|
|
"next": "latest",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "10.2.6",
|
|
"contentful-import": "^7.8.7",
|
|
"postcss": "8.3.5",
|
|
"tailwindcss": "^2.2.4"
|
|
}
|
|
}
|