via Give Grunt the Boot! A Guide to Using npm as a Build Tool.
Front-end build and workflow tools are available in abundance: Grunt, Gulp, Broccoli, and Jake to name but a few. These tools can automate almost anything you find yourself doing repeatedly in a project, from minifying and concatenating source files, to running tests or compiling code. But the question is, do you need them? Do you really want to introduce an additional dependency to your project? The answer is “No!”. There is a free alternative that can do the majority of these tasks for you and it comes bundled withNode.js. Of course I’m talking about npm.
In this article we’ll discuss what npm is capable of as a build tool. If you’d like a quick primer on npm before starting, please refer to our beginner’s guide to npm. If you’d like to follow along, you can find the code used in this article on GitHub.
via (Not) Another JS Testing How-To | Chris Stead – Web, the Universe and Everything.
There are lots of posts about how to write your first unit test in Jasmine or Mocha, and many of them draw directly from the Jasmine how to. Let’s pretend, for a moment, that you are a developer who is already familiar with unit testing and what you really, REALLY need is a way to actually get things started without having to read a whole host of how-tos, setup documentation etc, when all you really want to do is get to unit testing.
First, let’s get the Grunt versus Gulp conversation out of the way. I say neither! Though task runners can make CI much easier, this post is about getting a quick start into actually doing unit testing. By setting up a good, solid base configuration, moving to a task runner can be as simple as just applying the configuration you have with the runner you choose. Perhaps you like Tup…
JHipster focuses on generating a high quality application with a Java back-end using an extensive set of Spring technologies; Spring Boot, Spring Security, Spring Data, Spring MVC (providing a framework for websockets, REST and MVC), etc. an Angular.js front-end and a suite of pre-configured development tools like Yeoman, Maven, Gradle, Grunt, Gulp.js and Bower. JHipster creates a fully configured Spring Boot application with a set of pre-defined screens for user management, monitoring, and logging. The generated Spring Boot application is specifically tailored to make working with Angular.js a smoother experience. Join Julien for a quick-live coding session to build a simple application, and deploy it to Cloud Foundry.
You’ll learn about Grunt, and how it helps us to validate, minimize and package our code.
Development environments have many sides that are sometimes difficult to control manually, the manual control is a problem that concerns us is that human nature makes many mistakes, either by carelessness, fatigue or simple lack of concentration one point. The computerized procedures do not suffer from these problems, however depend on what the human tells them to do, is an iterative cycle, the issue is that if the human is only dedicated to one task at a time is over not likely to make mistakes, but a machine can do several tasks at once exactly. A what we want is that in a development environment can make the algorithm for multiple tasks, one at a time by hand, but if programmed a tool that brings all out then we were guaranteed to run as if for the first time without any problems.