Node crashing want to install PM2

there are some uncaught exceptions that are causing my node server to crash.

i want to install PM2 ia production process manager for Node.js applications that will restart the server on crash.

What folder should i put the package.json for the app level dependencies?