- CLAUDE.md 운영 규칙 - wiki/ 정리된 지식 페이지 (Nuxt + Claude Code) - raw/ 원본 자료 - reference/ Nuxt 4.x 공식 문서 Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
787 B
Markdown
33 lines
787 B
Markdown
---
|
|
title: package.json
|
|
head.title: package.json
|
|
description: The package.json file contains all the dependencies and scripts for your application.
|
|
navigation.icon: i-vscode-icons-file-type-npm
|
|
---
|
|
|
|
The minimal `package.json` of your Nuxt application should looks like:
|
|
|
|
```json [package.json]
|
|
{
|
|
"name": "nuxt-app",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "nuxt build",
|
|
"dev": "nuxt dev",
|
|
"generate": "nuxt generate",
|
|
"preview": "nuxt preview",
|
|
"postinstall": "nuxt prepare"
|
|
},
|
|
"dependencies": {
|
|
"nuxt": "latest",
|
|
"vue": "latest",
|
|
"vue-router": "latest"
|
|
}
|
|
}
|
|
```
|
|
|
|
::read-more{icon="i-simple-icons-npm" to="https://docs.npmjs.com/cli/configuring-npm/package-json/" target="_blank"}
|
|
Read more about the `package.json` file.
|
|
::
|