Created
June 9, 2023 12:39
-
-
Save squashfold/70ec01b66da8022667f49907e65bb230 to your computer and use it in GitHub Desktop.
Example package.json with post caching script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"private": true, | |
"scripts": { | |
"dev": "next", | |
"build": "next build", | |
"start": "next start", | |
"typecheck": "tsc", | |
"cache-posts": "node cache/posts.js" | |
}, | |
"dependencies": { | |
"classnames": "^2.3.1", | |
"date-fns": "^2.28.0", | |
"gray-matter": "^4.0.3", | |
"next": "latest", | |
"react": "^18.2.0", | |
"react-dom": "^18.2.0", | |
"remark": "^14.0.2", | |
"remark-html": "^15.0.1", | |
"typescript": "^4.7.4" | |
}, | |
"devDependencies": { | |
"@types/node": "^18.0.3", | |
"@types/react": "^18.0.15", | |
"@types/react-dom": "^18.0.6", | |
"autoprefixer": "^10.4.7", | |
"postcss": "^8.4.14", | |
"tailwindcss": "^3.1.4" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment