background preloader

Node.js, Gulp & npm

Facebook Twitter

Advanced WordPress Development: Using Gulp to Streamline Your Workflow. No matter what languages you’ve used in the past to development websites, you’ve no doubt had to complete menial, monotonous tasks – image optimization, JavaScript minification, concatenation, compiling supersets like SCSS and CoffeeScript to their native counterparts, creating the final build… just to name a few.

Advanced WordPress Development: Using Gulp to Streamline Your Workflow

Fortunately, build scripts such as Gulp and Grunt can take care of these rather boring tasks for you. All they require is a bit of setup and some command line know-how. This is the fifth post in our six-part series focusing on WordPress for advanced developers. This series follows on from our popular WordPress Development for Intermediate Users, which introduced you to some meaty coding topics, including theme development in detail, making themes customizer-ready, building plugins, custom post types and taxonomies, queries and loops, custom fields and metadata, and localization.

GitHub - gulpjs/gulp: The streaming build system. Gulp-update-modul. Auto update all node modules.

gulp-update-modul

OpenClassrooms - Installer Node.js. Ébauche de workflow Gulp : tâches courantes, unCSS, includes HTML et critical-CSS. Préambule : cet article part du principe que vous n’êtes pas totalement étranger aux notions et outils tels que LESS, NodeJS, Gulp ni à la ligne de commande, il ne s'agit d'un tutoriel de découverte de ces outils mais d'usage en environnement professionnel.

Ébauche de workflow Gulp : tâches courantes, unCSS, includes HTML et critical-CSS

Introduction. Introduction à Gulp. A l’origine, Sass Si vous me lisez depuis quelques temps, vous savez probablement que je suis un fervent utilisateur de Sass. J’ai initialement utilisé SublimeOnSaveBuild pour gérer la compilation automatiquement. Quand j’ai changé d’emploi et que j’ai commencé à travailler avec de nouveaux collègues, j’ai cherché à généraliser l’utilisation de Sass au sein de l’équipe. Je me voyais mal leur imposer, en plus d’un nouveau langage, mon éditeur de texte et sa configuration. Introduction à Gulp. Gulp est un "Automatiseur de tâches", un task runner comme disent nos amis anglophones, c'est à dire qu'il est capable de lancer des bouts de scripts à votre place tout seul comme un grand.

Introduction à Gulp

Ces tâches dépendent de votre bon vouloir et peuvent être très variées : des opérations simples telles que minifier ou concaténer du CSS ou du JavaScript, la création ou la suppression de dossiers ou de fichiers (possibilité de créer un projet à partir de zéro), l'optimisation, la compression d'images, la création de serveur local permettant de tester sur de multiples périphériques en même temps, la simulation de navigateurs fantômes conçus pour parcourir et tester les regressions d'affichage d'une page, etc. T'as une tâche là ! Pour vous représenter le nombre d'actions réalisables par Gulp, sachez que les quelques 2000 plugins recensés représentent tout autant de tâches exécutables au sein de votre projet.

Browsersync - Time-saving synchronised browser testing. Gulp-git. Gulp-clone. Clone files in memory in a gulp stream Duplicate files in memory.

gulp-clone

Install Install with npm. npm install --save-dev gulp-clone Changelog. Getting started with Gulp and Sass - Ryan Christiani – Front-End Developer. A few years ago I wrote an article on Getting started with Grunt and Sass.

Getting started with Gulp and Sass - Ryan Christiani – Front-End Developer

I wanted to write one about using Gulp and gulp-sass since gulp is starting to become more widely used. Lets get started! First things first, cd into the the project that you want add gulp. If you are not familiar with the command line check out my article Getting comfortable on the Command Line. Npm Documentation. Installing node.js and npm on Mac OSX 10.9 Mavericks. Node.js allows you to run javascript in the Terminal as appose to a regular browser which makes for a modern workflow in web development, with node.js installed an associated package called npm (Node Package Manager) is also installed which can manage other applications that utilize node.js, one of the main ones being grunt.js.

Installing node.js and npm on Mac OSX 10.9 Mavericks

OSX Yosemite 10.10 guide here. To install node.js on OSX 10.9 Mavericks you can download a pre-compiled binary package which makes a nice and easy installation. Head over to and click the install button to download the latest package. Install the package by following along which will install node and npm, npm is Node Package Manager which facilitates installs of additional packages for node.js. At the end of the install you are prompted to make sure that /usr/local/bin is in your path, double check you have it by running in the Terminal: echo $PATH If not add it in either .bash_profile or .bashrc in your home directory.

Installing Packages for Node. Setting up gulp.js to compile Sass - CodeHive. Gulp is a build system that allows you to manage various tasks such as compiling Sass to CSS, minifying your files or many numerous other tasks that a front-end developer might face.

Setting up gulp.js to compile Sass - CodeHive

In this Board, I'll be showing you how to setup gulp so that it compiles your Sass files to a single style.css file.