NPM & Prevent caching of specific dependencies?

github
cache

#1

We are doing a build of a Node.js project that brings in a dependency of ours via NPM, pointing to a git URL in GitHub. We were caught out by a change in this dependency, until we understood that CircleCI was caching dependencies.

Is there any way to specifically exclude this dependency from the cache or is there a way to deal with such dependencies?


#2