1.1.0 • Published 7 years ago

@justerest/up-ng v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

up-ng

CLI to upgrade ng-metadata + AngularJS (.html, .ts)

Usage

npm i -g @justerest/up-ng
up-ng [--options] <...paths>

By default up-ng make backup for current files ('*.old.*') and replace its with transformed data.
To save files to a new directory use --out option.

Options

OptionAliasTypeDefaultDescription
--pathsdefaultstring[]Files, component names*, directories**
--out-ostringOutput directory
--replacebooleanfalseDon't make backup files

* pattern: ${filePath}.?(ts|html)
* pattern: `${dirPath}/**/.component.?(ts|html)`