The package.json file is used to contain the dependencies and scripts of the Nuxt app. For example, you get the following default scripts and dependencies in this file if you are using the Nuxt scaffolding tool:
// package.json
{
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"nuxt": "^2.14.0"
}
}
We will work on this file a lot in Chapter 8, Adding a Server-Side Framework, and in Chapter 14, Using Linters, Formatters, and Deployment Commands.