0.4.1 • Published 6 years ago
deploy-copy v0.4.1
deploy-copy
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.