#1 Initialisation Projet

  • Créer un répertoire breizhcamp-2018-console.

  • Génerer le fichier package.json.

npm init -y
  • Créer un fichier index.js
/breizhcamp-2018-console
    index.js
    package.json
  • Compléter le fichier index.js comme suit :
console.log('** Application BreizhCamp 2018 **');
  • Compléter le fichier package.json
{
    "scripts" : {
      "start" : "node index.js"
    }
}
  • Tester la configuration via la commande :
npm start

Vérifier l'affichage :

** Application BreizhCamp 2018 **

results matching ""

    No results matching ""