@zerio2/bundler-cli

1.0.2 • Public • Published

Bundler CLI

This is a cli created to execute tasks, then bundle your files into a zip file.

I created this to make the process of uploading my FiveM resources faster. Since I would have to build and manually select which files should be included in the zip previously.

Installation

Run the following command: npm install -g @zerio2/bundler-cli

Usage

Create a bundler.config.js file in your directory, example structure:

module.exports = {
  name: "zerio-radio",
  tasks: ["cd ./src && npm run build"],
  ignore: [
    ".git",
    ".github",
    "src",
    ".gitignore",
    ".gitattributes",
    "bundle.ps1",
  ],
};

tasks & ignore is not needed, only the name parameter is required.

Then run zBundler to bundle the files into a zip file.

Readme

Keywords

Package Sidebar

Install

npm i @zerio2/bundler-cli

Weekly Downloads

103

Version

1.0.2

License

MIT

Unpacked Size

13.5 kB

Total Files

7

Last publish

Collaborators

  • zerio2