@gravityci/cli

0.1.2 • Public • Published

@gravityci/cli

Keep artifact sizes under control with Gravity, a developer tool that helps catch size regressions early before they reach users.

@gravityci/cli is Gravity's CLI component that runs in CI servers.

Usage

Minimal usage:

npx @gravityci/cli 'dist/'

Specifying multiple paths:

npx @gravityci/cli 'dist/**/*' 'dist2/**/*' 'dist3/**/*' ...

Specifying a fingerprint pattern:

npx @gravityci/cli 'dist/**/*' --fingerprint ".+(-[0-9A-Z]{8})\\..+"

Arguments

npx @gravityci/cli <patterns> --fingerprint <fingerprint>
argument type description
<patterns> array of strings Required. File path patterns of the compiled files the user wants to check its bundlesize
<fingerprint> string Optional. A regular expression; if artifacts are fingerprinted, this can be used to remove the fingerprint before comparison

Gravity is developed by and © Mainmatter GmbH.

Readme

Keywords

none

Package Sidebar

Install

npm i @gravityci/cli

Weekly Downloads

150

Version

0.1.2

License

UNLICENSED

Unpacked Size

117 kB

Total Files

33

Last publish

Collaborators

  • mainmatter
  • marcoow