Skip to content

Commit

Permalink
build: add peer deps and optional peer deps (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Lins <me@tobi.sh>
Co-authored-by: Chris <7249920+chriswdmr@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 18, 2024
1 parent f8b2951 commit 3135a37
Show file tree
Hide file tree
Showing 2 changed files with 1,645 additions and 1,513 deletions.
22 changes: 19 additions & 3 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vercel/speed-insights",
"version": "1.0.4",
"version": "1.0.5",
"description": "Speed Insights is a tool for measuring web performance and providing suggestions for improvement.",
"keywords": [
"speed-insights",
Expand Down Expand Up @@ -52,8 +52,8 @@
"require": "./dist/vue/index.js"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
Expand Down Expand Up @@ -109,5 +109,21 @@
"tsup": "7.2.0",
"vue": "^3.4.14",
"vue-router": "^4.2.5"
},
"peerDependencies": {
"@sveltejs/kit": "^1",
"next": ">= 13",
"react": "^18 || ^19",
"svelte": "^4",
"vue": "^3",
"vue-router": "^4"
},
"optionalDependencies": {
"@sveltejs/kit": "^1",
"next": ">= 13",
"react": "^18 || ^19",
"svelte": "^4",
"vue": "^3",
"vue-router": "^4"
}
}
Loading

5 comments on commit 3135a37

@vercel
Copy link

@vercel vercel bot commented on 3135a37 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3135a37 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3135a37 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3135a37 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3135a37 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.