Socket
Socket
Sign inDemoInstall

@screencloud/finalize-build-cli

Package Overview
Dependencies
123
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @screencloud/finalize-build-cli

Finalize CLI for regex replacement of template variables in a prepared build folder


Version published
Weekly downloads
123
decreased by-10.87%
Maintainers
2
Install size
1.90 MB
Created
Weekly downloads
 

Readme

Source

@screencloud/finalize-build-cli

A simple cli utility to replace template variables in a prepared build.

CLI

Install

run npm i -g @screencloud/finalize-build-cli.

Usage

Usage: finalize-build [options]

Options:
  -V, --version           output the version number
  -e, --env-files <file>  A list of .env files to load (default: [])
  -i, --input <path>      Set the input path of the prepared build to be used (default: "builds/prepared-development")
  -o, --output <path>     output path for the finalized builds (default: "builds/development")
  -m, --metadata <path>   path to metadata json file (default: "builds/prepared-development-metadata.json")
  -f, --files <files>     A list of globs for files to be replaced, (defaults to all json,js,css,html files) (default: ["*.html","*.json","*.js","*.css","**/*.html","**/*.json","**/*.js","**/*.css"])
  -p, --path <path>       Set the current working directory (default: "C:\\git\\screencloud\\finalize-build-cli")
  -h, --help              output usage information

Metadata

The metadata json needs to be of the following format

export interface IMetadata {
    templateVars: string[];
}

FAQs

Last updated on 09 Nov 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc