@screencloud/finalize-build-cli
Finalize CLI for regex replacement of template variables in a prepared build folder
Last updated 2 months ago by screencloud-bot .
Original npm · Tarball · package.json
$ cnpm install @screencloud/finalize-build-cli 
SYNC missed versions from official npm registry.

@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[];
}

Current Tags

  • 1.2.2                                ...           latest (2 months ago)

7 Versions

  • 1.2.2                                ...           2 months ago
  • 1.2.1                                ...           2 months ago
  • 1.2.0                                ...           2 months ago
  • 1.1.1                                ...           2 months ago
  • 1.1.0                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
Downloads
Today 0
This Week 0
This Month 8
Last Day 0
Last Week 8
Last Month 0
Dependencies (7)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |