Cache npm dependencies