@arinoto/dep-copy
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

NPM dependency copier

dep-copy <src_dir> <dst_dir>. 
Recursively copy only production parts of node_modules

This tool recursively walks productive dependencies of a module found in src_dir and places them flatly under node_modules under dst_dir.

Node's module resolution mechanics is used to find the dependency, so if it's in a parent folder somewhere, it's still discovered.

Known limitations

Package versions are ignored, and each package is discovered only once. This means that if you have the same package somewhere in dependencies multiple times with different versions, only the first found will be copied.

Readme

Keywords

none

Package Sidebar

Install

npm i @arinoto/dep-copy

Weekly Downloads

4

Version

1.2.0

License

LGPL-3.0

Unpacked Size

871 kB

Total Files

336

Last publish

Collaborators

  • dw0