pundle

(β˜… 356)

πŸ‘Ύ peaceful bundles - js bundler, built from the ground up for speed and extensibility

파일 탐색기

  • .babelignore
  • .eslintignore
  • .eslintrc.json
  • .flowconfig
  • .gitignore
  • .prettierrc
  • babel.config.js
  • lerna.json
  • package.json
  • README.md
  • yarn.lock

# CDN으둜 μ‚¬μš©ν•˜κΈ°

jsDelivr

jsDelivrλŠ” 곡개 GitHub 리포지토리λ₯Ό 별도 μ„€μ • 없이 CDN으둜 μ¦‰μ‹œ μ„œλΉ™ν•©λ‹ˆλ‹€. 버전과 νŒŒμΌμ„ κ³ λ₯΄λ©΄ μ›ΉνŽ˜μ΄μ§€μ— λ°”λ‘œ 뢙일 수 μžˆλŠ” 링크와 μ˜ˆμ‹œ μ½”λ“œκ°€ λ§Œλ“€μ–΄μ§‘λ‹ˆλ‹€.

λͺ…λ Ήμ–΄ μš©μ–΄μ§‘

이 λ¬Έμ„œμ—μ„œ μ‚¬μš©λœ λͺ…λ Ήμ–΄λ₯Ό λͺ¨μ•„λ΄€μŠ΅λ‹ˆλ‹€. λ‚―μ„  λͺ…λ Ήμ–΄κ°€ μžˆλ‹€λ©΄ νŽΌμ³μ„œ ν™•μΈν•΄λ³΄μ„Έμš”.

πŸ”

npm init

μ„€λͺ… 보기 β–Ό

Create a `package.json` file.

npm init

Initialize a new package with prompts:

npm init {{[-y|--yes]}}

Initialize a new package with default values:

npm init {{create-react-app}} {{my-app}}

Initialize a new package using a specific initializer:

πŸ”

yarn

μ„€λͺ… 보기 β–Ό

JavaScript 및 Node.js νŒ¨ν‚€μ§€ λŒ€μ²΄ κ΄€λ¦¬μž.
더 λ§Žμ€ 정보: <https://yarnpkg.com/cli>.

yarn global add {{module_name}}

μ „μ—­μ μœΌλ‘œ λͺ¨λ“ˆ μ„€μΉ˜:

yarn install

`package.json` νŒŒμΌμ— 참쑰된 λͺ¨λ“  μ˜μ‘΄μ„±μ„ μ„€μΉ˜ ( `install`은 선택 μ‚¬ν•­μž…λ‹ˆλ‹€):

yarn add {{module_name}}@{{version}}

λͺ¨λ“ˆμ„ μ„€μΉ˜ν•˜κ³  `package.json` νŒŒμΌμ— λŒ€ν•œ μ˜μ‘΄μ„±μœΌλ‘œ μ €μž₯ (개발 μ „μš© μ˜μ‘΄μ„±μœΌλ‘œ μΆ”κ°€ν•˜λ €λ©΄ `--dev` μΆ”κ°€):

// repository documentation