From 4c82603642223e57e6a69d713dcf93173530f80d Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Mon, 16 Jan 2023 12:57:57 +0100 Subject: [PATCH] update components scripts --- packages/components/package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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"