How to use yarn link

1. Install the package

yarn link ../local/path/to/package

2. Add devDependencies for the package

{
  "devDependencies": {
    "YourPackageName": "*"
  }
}