UNPKG

626 BMarkdownView Raw
1# @artsy/dupe-report
2
3A tool for reporting on duplicate dependencies in a webpack bundle.
4
5## Overview
6
7Intended to be deployed to a now lambda, it exposes a simple REST api to perform a duplicate comparison between a PR and master.
8
9This project currently has the baked in assumptions that you use CircleCI, GitHub, and Slack.
10
11## API
12
13```
14GET /?owner={github_repo_owner}&repo={github_repo}&buildNum=${circle_ci_build_num}
15```
16
17There's an optional `dryRun` query param that an be used for debugging
18
19## Deployment
20
21To deploy a staging build scoped to your user use `yarn dev`.
22
23For a production deployment use `yarn deploy`.