Skip to main content
DevTools24

package.json 생성기

다양한 프로젝트 유형에 대한 프리셋으로 package.json 파일을 생성합니다. 메타데이터, 스크립트 및 종속성을 구성합니다.

echo '{}' > package.json
# Then paste generated content, or:
npm init -y

package.json - 기술 세부 정보

package.json is the manifest file for Node.js projects. It contains project metadata, scripts for automation, dependencies, and configuration. Required fields are name and version. Common scripts include start, build, test, and dev.

명령줄 대안

# Initialize package.json\nnpm init -y\n\n# Add dependencies\nnpm install express\nnpm install -D typescript

참조

공식 사양 보기