@foxythemes/depcopy-cli

Copy front-end dependencies from node_modules to custom paths

Stats

StarsIssuesVersionUpdatedCreatedSize
@foxythemes/depcopy-cli
111.0.24 years ago4 years agoMinified + gzip package size for @foxythemes/depcopy-cli in KB

Readme

depcopy-cli

This is a command line client Dependencies Copy, useful when you need copy dependencies to a specific directory.

Getting Started

  • Install with npm: npm install @foxythemes/depcopy-cli -D
  • Run it with depcopy

Initial Setup

Create a JSON file named dep-copy.json in the root, this file will saved all dependencies that will be copied to your custom path.

Usage

Add the dependencies that you want to copy specifying the destination path.

Example:

{
  "options": {
    "destPrefix": "src/assets/lib/"
  },
  "dependency-name":{
    "files": {
      "dependency-name-dest/scss" : "dependency-name-orig/scss/*",
      "dependency-name-dest/dist" : "dependency-name-orig/dist/*"
    }
  }
}

License

Copyright (c) FoxyThemes Licensed under the MIT license.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.