Skip to content

Commit

Permalink
Move web-vitals as a peer dependency
Browse files Browse the repository at this point in the history
Install as a development dependency as well so that we can properly
import @guardian/libs when running jest.
  • Loading branch information
chrislomaxjones committed Nov 3, 2021
1 parent 1d2b018 commit 3c37d11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,14 @@
"prettier": "^2.4.1",
"semantic-release": "^18.0.0",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4"
"typescript": "^4.4.4",
"web-vitals": "^2.1.2"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@guardian/libs": "^3"
},
"dependencies": {
"@guardian/libs": "^3",
"web-vitals": "^2.1.2"
}
}
6 changes: 2 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3c37d11

Please sign in to comment.