756b365adf
* Add start of Sanity CMS example * Update cover-image * Clean up example * Apply suggestions from code review Co-Authored-By: Shu Uesugi <shu@chibicode.com> * Make changes from review * Remove extra style * Apply suggestions from code review Co-Authored-By: Shu Uesugi <shu@chibicode.com> * Make tweaks for preview mode and normalize env naming * Update viewing preview step * Delete author.jpg * Delete image.jpg * Update README * Fix environment variable names * Project ID is needed by lambda * Improved steps * Fixed issue with the project URL example * Clarify line * Get the preview post correctly * preview = false * Get unique posts * Show preview mode on index page * typo fix and use next latest * Added related examples section Co-authored-by: Shu Uesugi <shu@chibicode.com> Co-authored-by: Luis Alvarez <luis@zeit.co>
25 lines
571 B
JSON
25 lines
571 B
JSON
{
|
|
"name": "cms-sanity",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@sanity/block-content-to-react": "2.0.7",
|
|
"@sanity/client": "1.149.2",
|
|
"@sanity/image-url": "0.140.17",
|
|
"classnames": "2.2.6",
|
|
"date-fns": "2.10.0",
|
|
"next": "latest",
|
|
"react": "^16.13.0",
|
|
"react-dom": "^16.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"@fullhuman/postcss-purgecss": "^2.1.0",
|
|
"dotenv": "8.2.0",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"tailwindcss": "^1.2.0"
|
|
}
|
|
}
|