Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Files

Latest commit

af4348b · May 26, 2020

History

History
23 lines (12 loc) · 765 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 765 Bytes

recursive-npm Node.js CI

A small utility to recursively run any npm command in any child directory that has a package.json file excluding sub directories of node_modules.

This package differs from the original fork in that this supports all other npm commands, and also additional parameters that can be passed in to the npm commands.

Install

$ npm i -g recursive-npm

Usage

Replace npm with recursive-npm

$ recursive-npm <command and arguments>

$ recursive-npm install - Will run npm install recursively

$ recursive-npm install --production --package-lock - Will not install dev dependencies, but will instead create package-lock.json

License

MIT