diff --git a/packages/components/package.json b/packages/components/package.json index d4075106..cdca4dc0 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -12,11 +12,14 @@ "dist" ], "scripts": { + "dev": "tamagui-build --watch", "build": "tamagui-build", "typegen": "tsc --noEmit false --emitDeclarationOnly || true", - "watch": "tamagui-build --watch", - "storybook": "storybook dev -p 6006", - "build-storybook": "storybook build" + "storybook": "TAMAGUI_TARGET='web' storybook dev -p 3001", + "storybook:build": "TAMAGUI_TARGET='web' storybook build" + }, + "peerDependencies": { + "react-native-web": "^0.18.0" }, "dependencies": { "@tamagui/animations-react-native": "^1.0.8", @@ -39,6 +42,7 @@ "@tamagui/vite-plugin": "^1.0.8", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-native-web": "^0.18.0", "storybook": "^7.0.0-beta.21", "storybook-addon-designs": "^7.0.0-beta.2", "vite": "^4.0.4"