Skip to content

Instantly share code, notes, and snippets.

@Geoffrey-T
Created September 26, 2013 07:20
Show Gist options
  • Select an option

  • Save Geoffrey-T/6710843 to your computer and use it in GitHub Desktop.

Select an option

Save Geoffrey-T/6710843 to your computer and use it in GitHub Desktop.

Des deux côtés

Yeoman

npm install -g yeoman

Yo

Génère des "squelletes" d'applications

Grunt

Lanceur de taches (compilation du JS, lancement du serveur, compilation des templates...)

ex: grunt server , grunt handlebars, grunt test

Coté client

npm sert simplement d'instalateur aux autres outils

Bower

Gestion des dépendances

bower search underscore bower install underscore bower install --save underscore (pour enregistrer la dépendance dans le bower.json)

bower install : Installe toutes les dépendances spécifiées dans le bower.json

yo

La plupart des "generator" de Yo sont dédiés au Front ex: yo webapp

Coté Serveur

Ici c'est npm qui gère les dépendances

npm

npm search underscore npm install underscore npm install --save underscore (pour enregistrer la dépendance dans le package.json)

npm install : Installe toutes les dépendances spécifiées dans le package.json

#Yo Un des "generator" de Yo est dédié aux projets node ex: yo node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment