From ffa756f946a037fa673d5c4dd454e39a7c4cbcff Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Mon, 24 Jun 2019 07:40:13 +0200
Subject: [PATCH] installation commands with yarn

---
 contribute.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contribute.py b/contribute.py
index 7dbbb843..a8c76e10 100644
--- a/contribute.py
+++ b/contribute.py
@@ -69,8 +69,8 @@ def main(date, name):
     # launch the presentation deck
     if not os.path.exists(os.path.join(fullPath, 'node_modules')):
         click.echo(' > Installing dependencies ... ')
-        os.system('npm install -g npm@latest grunt-cli generator-reveal')
-        os.system('npm install')
+        os.system('yarn add -g grunt-cli generator-reveal')
+        os.system('yarn')
         click.echo(' > All dependencies installed.')
     else:
         click.echo(' > All dependencies already installed.')
-- 
GitLab