Files & Configuration

package.json

What It Is

A file that lists your project's dependencies and scripts

Analogy

The ingredient list and recipe card for your project — what you need and how to make it

Try It Out

JSONpackage.json
1{
2 400">"name": 400">"my-awesome-app",
3 400">"version": 400">"1.0.0",
4 400">"description": 400">"A modern web application built with Next.js",
5 400">"author": 400">"Your Name <you@example.com>",
6 400">"license": 400">"MIT",
7 400">"private": true,
8 400">"scripts": {
9 400">"dev": 400">"next dev",
10 400">"build": 400">"next build",
11 400">"start": 400">"next start",
12 400">"lint": 400">"next lint",
13 400">"test": 400">"vitest"
14 },
15 400">"dependencies": {
16 400">"next": 400">"^14.2.0",
17 400">"react": 400">"^18.2.0",
18 400">"react-dom": 400">"^18.2.0",
19 400">"tailwindcss": 400">"^3.4.0"
20 },
21 400">"devDependencies": {
22 400">"@types/node": 400">"^20.10.0",
23 400">"@types/react": 400">"^18.2.0",
24 400">"eslint": 400">"^8.55.0",
25 400">"typescript": 400">"^5.3.0",
26 400">"vitest": 400">"^1.0.0"
27 }
28}