Skip to content

0.0.0-canary.402ecf03cd7caa851232b0eca12c0f85b4cdb40a

Compare
Choose a tag to compare

mui-scripts

material-ui scripts incubator

install

In your .npmrc:

@eps1lon:registry=https://npm.pkg.github.com/
$ yarn global add @eps1lon/mui-scripts

If you don't want to install the package globally you can use npx instead:

- $ @eps1lon/mui-scripts
+ $ npx @eps1lon/mui-scripts

usage

$ @eps1lon/mui-scripts --help
entrypoint.js [command]

Commands:
  entrypoint.js lighthouse-audit            audit pages with lighthouse
  [pr-number]

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

lighthouse audit

# audit specific pr
$ @eps1lon/mui-scripts lighthouse-audit $PR_NUMBER > $PR_NUMBER.json
# audit master
$ @eps1lon/mui-scripts lighthouse-audit > master.json