@servicetitan/component-usage
TypeScript icon, indicating that this package has built-in type declarations

28.0.0 • Public • Published

@servicetitan/component-usage

Use this package to report on component usage across your project.

Usage

Basic Usage

$ npm install --save-dev @servicetitan/component-usage
$ npx component-usage

Or for one-time use with no installation:

$ npx @servicetitan/component-usage

Options

You must specify at least one "mode" option: --sendToDataDog, --outputDir, --teamCityOutput.

The examples below show the long form of each option (like --sendToDataDog), but short forms are available (like -s). To see all the long and short options, use --help.

Display help:

$ npx @servicetitan/component-usage --help

Generate stats files locally in the current directory:

$ npx @servicetitan/component-usage --outputDir .

Send metrics to DataDog:

$ npx @servicetitan/component-usage --sendToDataDog --dataDogApiKey ...API_KEY_GOES_HERE... --dataDogApplicationKey ...APP_KEY_GOES_HERE...

Porque no los dos?

$ npx @servicetitan/component-usage --outputDir . --sendToDataDog --dataDogApiKey ...API_KEY_GOES_HERE... --dataDogApplicationKey ...APP_KEY_GOES_HERE...

TeamCity output

$ npx @servicetitan/component-usage --teamCityOutput

Readme

Keywords

none

Package Sidebar

Install

npm i @servicetitan/component-usage

Weekly Downloads

60

Version

28.0.0

License

none

Unpacked Size

190 kB

Total Files

17

Last publish

Collaborators

  • dextersealy
  • seanmadi
  • karpoff
  • st-team
  • rgdelato