OPI Blog
Learn from experts in their fields

Browsing Tags: NPM

How to Not Be Afraid of Transitive Dependencies in npm
Back in March of 2016 there was a rather large hiccup in the npm ecosystem. Basically, an author unpublished a prominent package that many projects happened to depend on. Cue mass panic as builds around ...
Apr 22, 2016
Using Bundled Webpack Instance with Gradle
In this post I’ll be explaining how to use React, Spring Boot, and Webpack to package all the javascript files together. As always, feel free to follow along or you can cheat and get the ...
Apr 14, 2016
Using Self Contained Node.js and npm instances with Gradle
Recently I was given the task to get a new project started from ground zero. This is the day I always dreaded since jumping into an existing project is easy but starting from scratch involves ...
Add Javascript unit tests and run them with “grails test-app”
Client-side JavaScript code typically doesn’t get as much testing as back-end code, but with technologies like AngularJS becoming popular, more logic is making its way to the front-end, creating a higher need for tests. Fortunately ...
Feb 26, 2014
Running a Lightweight Static Server with Grunt
So you’re a Grails/Java/Some Other MVC developer, and you’ve taken the leap: your next application is going to be single page with a RESTful backend. Congratulations! But where do you start? The first thing you ...