UNPKG

npm-cp-prune

Version:

Copy and prune node_modules to a new directory

25 lines (13 loc) 458 B
# npm-cp-prune [![Build Status](https://travis-ci.org/bendrucker/npm-cp-prune.svg?branch=master)](https://travis-ci.org/bendrucker/npm-cp-prune) > Copy and prune node_modules to a new directory ## Install ``` $ npm install --save npm-cp-prune ``` ## Usage ```sh npm-cp-prune ./destination -- --production ``` Flags to [`npm prune`](https://docs.npmjs.com/cli/prune) can be passed afer a `--`. ## License MIT © [Ben Drucker](http://bendrucker.me)