📚 Cheatsheet

Une collection organisée de snippets de code pour accélérer votre développement. Parcourez, recherchez et copiez en un clic.

Snippets 5

Retour
NPM - Initialiser un nouveau projet
Facile
npm init
NPM - Initialiser un projet avec les valeurs par défaut
Facile
npm init -y
Structure d'un package.json minimal
Facile
{
  "name": "mon-projet",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT"
}
Yarn - Initialiser un nouveau projet
Facile
yarn init
Yarn - Initialiser un projet avec les valeurs par défaut
Facile
yarn init -y