deploy-copy

0.4.1 • Public • Published

deploy-copy

Build Status npm version

Config-based script to copy only files needed for production.

Install

npm install -g deploy-copy

Usage

deploy-copy [-source:/path/to/source] (default source is the current working directory)

All folders containing a deploy.json file will be copied to the deploy folder (/path/to/source-deploy) except files matching an excluded path.

deploy.json

{
  "exclude": [
    "./glob/pattern/to/exclude",
    "./another/glob/pattern/to/exclude"
  ]
}

The paths in common.deploy.json are automatically excluded.

Readme

Keywords

none

Package Sidebar

Install

npm i deploy-copy

Weekly Downloads

1

Version

0.4.1

License

MIT

Last publish

Collaborators

  • developers-vintage-software
  • kevinphelps