After we have installed NPM dependencies, we don’t take care of their new versions. After some months, we realize that the project is completely outdated and needs to be upgraded. The problem is that many dependencies contain breaking changes and it becomes a real pain to upgrade.
Tools
NPM version is cool ! You should use it
In these times where NPM scripts are becoming more and more popular, I want to show you an unknown command of NPM : npm version.
Jump into the future of CSS with PostCSS
What is PostCSS? To explain what PostCSS is, we first need to understand what PostCSS isn’t. Indeed, when people hear first about PostCSS, they tend to think it’s a new kind of Pre-Processor like SASS, LESS or Stylus. It can act like a Pre-Processor if … Lire l’article
How to setup Nighwatch in a multi-OS configuration
Introduction This article is a follow up of https://www.ux-republic.com/introduction-to-nightwatch-for-lightning-acceptance-tests/ Nighwatch in a team with multiple Operating systems In the real world, you may encounter a team running several OSes : Windows, MacOS, Linux, etc. When you want to run an acceptance test, it must be … Lire l’article
Page object, asynchronous command in Nightwatch
After the last post, I continued my Nightwatch exploration with the Page Objects and the command production.
Page object, command asynchrones dans Nightwatch
Après l’article de la semaine dernière, je continue mon exploration Nightwatch avec les Pages Object, et la réalisation de command.
Introduction to Nightwatch, for lightning acceptance tests
Since a few months, developers are wondering what should be used for their acceptance tests in a new project. CasperJS Team hasn’t released any update for a long time. Protractor never really convinced the Angular community, therefore it does not seem to be a solid solution. Luckily, the JS community came to the rescue ! Here comes Nightwatch (no, it’s not related to Game Of Thrones …)
Introduction à Nightwatch, pour des tests d'acceptance ultra rapides
Depuis quelques mois, les développeurs se demandent un peu quoi utiliser pour leurs tests d’acceptance dans les nouveaux projets. CasperJS n’ayant pas sorti de nouvelle version depuis longtemps et Protractor n’ayant jamais vraiment convaincu pour les projets angular, l’horizon semblait quelque peu désert en terme de solution solide. Mais ce n’était pas sans compter sur la communauté qui a créé Nightwatch (non, c’est pas les mêmes que dans Game Of Thrones …)
Avec uncss, mettez au régime vos feuilles de styles
Uncss est un outil sous Node.js qui permet d’analyser les feuilles de style par rapport à l’utilisation que vous en faites dans votre site et retirer toutes les règles inutiles afin de réduire son poids drastiquement et donc accélérer son chargement !
Voyons comment il fonctionne, si il est vraiment efficace et comment l’utiliser.
Web Audio API
La Web Audio API permet de lire, manipuler et de synthétiser du son au sein d’une application web. Pour généraliser on peut jouer sur 3 objets différents : les sources, les filtres d’effets, l’analyseur. Les sources Les sources peuvent être n’importe quelle source audio à … Lire l’article