Use the collector
path to indicate which directory your npm files are located.
Works with either npm or yarn depending on whether there is a
Runs npm@5 so it also supports
npm shrinkwrap is not
If you don't use
yarn.lock, then it is recommended that you
--save-exact versions of your dependencies. Otherwise every time this runs,
it will simply install the new available versions in your range instead of
reporting them back as newer versions than what you have installed currently
(which could then be given to actors).
collectors: - type: js-npm path: / # directory where package.json / yarn.lock / package-lock.json are located settings: node_env: production # if you only care about production dependencies actors: - ...