rsnext/examples/custom-server-hapi/package.json
Eduardo P. Rivero 2259a7ec1f Updating hapijs package name (#7664)
* Updating hapijs package name

Hapi was moved to a new module under the name @hapijs/hapi.

Right now installing just as hapi is giving you this warning:

```bash
npm WARN deprecated hapi@18.1.0: This module has moved and is now available at @hapi/hapi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
```
This change does not affect the integration with next and it continues to work great.

* Update package.json
2019-06-26 09:40:35 +02:00

15 lines
310 B
JSON

{
"name": "custom-server-hapi",
"version": "1.0.0",
"scripts": {
"dev": "node server.js",
"build": "next build",
"start": "NODE_ENV=production node server.js"
},
"dependencies": {
"@hapi/hapi": "^18.3.1",
"next": "latest",
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}