ee372f472f
* Add with-next-connect example * Update README * Fix code and lint * Fix typo * Run prettier * Include username * Rename example * Match with-passport styling * Add comments in code * Run prettier * Rewrite example * Add some comments * Update README.md * keys -> secret * Updated package.json and readme * UX changes * Securely encrypt cookie with @hapi/iron * Update README * Abstract db related actions and update README * security: add note on password hashing * remove unused dep * Updated readme Co-authored-by: Luis Alvarez <luis@zeit.co>
20 lines
419 B
JSON
20 lines
419 B
JSON
{
|
|
"name": "with-passport-and-next-connect",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@hapi/iron": "6.0.0",
|
|
"cookie": "0.4.0",
|
|
"next": "latest",
|
|
"next-connect": "^0.6.1",
|
|
"passport": "^0.4.1",
|
|
"passport-local": "^1.0.0",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"swr": "^0.1.18"
|
|
},
|
|
"license": "ISC"
|
|
}
|