package.json

μ„€μ •Β·2021λ…„ 1μ›” 8일
0

πŸŽ’ package.json

Installation

$ npm init

  • name : ν”„λ‘œμ νŠΈ 이름
  • version : ν˜„μž¬ μƒμ„±ν•˜λŠ” npm 파일 버전
  • description : μˆ˜ν–‰ν•  μž‘μ—…μ— λŒ€ν•΄ μž‘μ„±
    ex) npm start test
  • entry point
  • test command
  • git repository : gitμ—μ„œ clone받은 λ‚΄μš©μΌ μ‹œ github repository μ£Όμ†Œκ°€ 있음
  • keywords
  • author
  • license : λΌμ΄μ„ΌμŠ€μ— λŒ€ν•œ λ‚΄μš© λͺ…μ‹œ

πŸ”₯ μ°Έκ³ 
ν•œλ²ˆμ— 기본적인 ν˜•νƒœμ˜ package.json을 μƒμ„±ν•˜κ³  μ‹Άλ‹€λ©΄

  • npm init --force(npm init --f)
  • npm init --yes(npm init --y)

🐧 결과

0개의 λŒ“κΈ€