rsnext/examples/with-mysql/package.json
Allen Hai 3478e1d0cc
[examples] Add Next.js + MySQL example (#19452)
* [examples] add with-mysql example

* [examples] add demo link to with-mysql readme

* [examples] add next.js + mysql example with correct env pattern

* [examples] fix lint errors, update package name, remove unnecessary res statement

* [examples] remove unused imports and variables

* [examples] fix some linting errors

* Added NextApiHandler to API endpoints

* Lint fixes

* Added useEntry hook

* Updated type

* Update examples/with-mysql/package.json

* Updated readme

* fixed URL

Co-authored-by: Matthew Sweeney <mail@mcs.dev>
Co-authored-by: Luis Alvarez <luis@vercel.com>
2020-11-23 19:13:09 -05:00

30 lines
694 B
JSON

{
"name": "with-mysql",
"version": "1.0.0",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"migrate": "node scripts/migrate-db.js"
},
"dependencies": {
"bad-words": "^3.0.4",
"clsx": "^1.1.1",
"dotenv": "^8.2.0",
"next": "latest",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-loading-skeleton": "^2.1.1",
"serverless-mysql": "^1.5.4",
"swr": "^0.3.9"
},
"devDependencies": {
"@types/node": "^14.14.6",
"@types/react": "^16.9.55",
"postcss-flexbugs-fixes": "4.2.1",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.7.4",
"typescript": "^4.0.5"
},
"license": "MIT"
}