Skip to content

0.0.0-canary.5ab44ee2cfb8caa97e30ba6d4b28a3f17706fc4a

Latest
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