Skip to content

Commit

Permalink
polish package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Aug 24, 2024
1 parent 9dfd4ab commit fd4dd08
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions packages/vike-react/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"name": "vike-react",
"version": "0.5.3",
"repository": "https://github.com/vikejs/vike-react",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./useData": "./dist/hooks/useData.js",
"./usePageContext": "./dist/hooks/usePageContext.js",
"./useData": "./dist/hooks/useData.js",
"./useConfig": {
"browser": "./dist/hooks/useConfig/useConfig-client.js",
"default": "./dist/hooks/useConfig/useConfig-server.js"
Expand All @@ -19,14 +18,22 @@
"browser": "./dist/components/Head/Head-client.js",
"default": "./dist/components/Head/Head-server.js"
},
"./ClientOnly": "./dist/components/ClientOnly.js",
"./clientOnly": "./dist/helpers/clientOnly.js",
"./ClientOnly": "./dist/components/ClientOnly.js",
".": "./dist/index.js",
"./config": "./dist/+config.js",
"./renderer/onRenderHtml": "./dist/renderer/onRenderHtml.js",
"./renderer/onRenderClient": "./dist/renderer/onRenderClient.js",
"./components/Loading": "./dist/components/Loading.js"
},
"dependencies": {
"react-streaming": "^0.3.42"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0",
"vike": ">=0.4.182"
},
"scripts": {
"dev": "tsc --watch",
"build": "rimraf dist/ && tsc && pnpm run build:css",
Expand All @@ -35,11 +42,6 @@
"release:minor": "release-me minor",
"release:commit": "release-me commit"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0",
"vike": ">=0.4.182"
},
"devDependencies": {
"@biomejs/biome": "^1.6.4",
"@brillout/release-me": "^0.3.8",
Expand All @@ -54,9 +56,6 @@
"vike": "^0.4.191",
"vite": "^5.4.0"
},
"dependencies": {
"react-streaming": "^0.3.42"
},
"typesVersions": {
"*": {
"useData": [
Expand Down Expand Up @@ -94,9 +93,13 @@
]
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/"
],
"repository": "github:vikejs/vike-react",
"license": "MIT"
"license": "MIT",
"keywords": [
"react"
]
}

0 comments on commit fd4dd08

Please sign in to comment.