Skip to content

roberto-slopez/npm-build-zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

npm install --save-dev npm-build-zip

Example

Modify YourApp/package.json:

"scripts": {
    "zip": "npm-build-zip"
    ...
}

Create the .zip file containing build folder

npm run zip

Arguments

--source=dir/build/ default is: build

--destination=dir/out/ defualt is: .

--includes=yargs,sanitize-filename default is: '' include packages in zip

--name=demo default is: '' extra name in package.zip

--name_only=true default is: false when providing a name, omit package information from filename, does nothing without a name

--info=true default is: false for show logs

About

build folder to zip, like a npm pack

Resources

Stars

Watchers

Forks

Packages

No packages published