6ce7a0378e
* Add Cosmic CMS Example * with native .env support, this file isn't needed anymore * FIX use path alias * Add cosmicjs package * Fix alias import in pages/api/preview * Added: react-imgix & lazysizes package * Load lazysizes in layout * Used imgix image with lazyloading * Added avatar imgix optimizations * EDITED: steps to install content, preview * EDITED: demo link * EDITED: Install step * EDITED: preview link steps * Edited: demo link * FIXED: object_slug * Screenshots * Fixed object_slug link * Update README.md * Fix: formatting issue * Updated readme and renamed .env to env.local * Sanity checks * Handle fallback data when expected * Added link to the example in other examples * Updated demo deployment * Added example to docs * minor lint fix * Remove manual download step * use vercel.json Co-authored-by: Tony Spiro <tspiro@tonyspiro.com> Co-authored-by: Luis Alvarez <luis@vercel.com>
27 lines
595 B
JSON
27 lines
595 B
JSON
{
|
|
"name": "cms-cosmic",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"classnames": "2.2.6",
|
|
"cosmicjs": "^3.2.43",
|
|
"date-fns": "2.14.0",
|
|
"lazysizes": "^5.2.1-rc2",
|
|
"next": "latest",
|
|
"react": "^16.13.1",
|
|
"react-datocms": "1.2.4",
|
|
"react-dom": "^16.13.1",
|
|
"react-imgix": "^9.0.2",
|
|
"remark": "12.0.0",
|
|
"remark-html": "11.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"postcss-flexbugs-fixes": "4.2.1",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"tailwindcss": "^1.4.6"
|
|
}
|
|
}
|