Giter VIP home page Giter VIP logo

Comments (2)

the-simian avatar the-simian commented on August 29, 2024 1

I can get this to work with

{
  "name": "expo-example",
  "version": "7.6.20",
  "private": true,
  "main": "index.js",
  "scripts": {
    "android": "STORYBOOK_ENABLED=true expo start --android",
    "ios": "STORYBOOK_ENABLED=true expo start --ios",
    "web": "STORYBOOK_ENABLED=true expo start --web",
    "storybook:mobile": "STORYBOOK_ENABLED=true expo start",
    "storybook:web": "storybook dev -p 6006 -c ./.storybook-web",
    "build-web-storybook": "storybook build -c ./.storybook-web",
    "storybook-getstories": "sb-rn-get-stories --config-path=./.storybook --v6-store",
    "storybook-generate": "sb-rn-get-stories --config-path=./.storybook",
    "storybook-watcher": "sb-rn-watcher -v6 --config-path=./.storybook",
    "disabled-example": "expo start",
    "format": "prettier --write .",
    "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
    "check": "tsc --noEmit",
    "test": "jest",
    "test:ci": "jest --runInBand"
  },
  "dependencies": {
    "@expo/metro-runtime": "~3.1.3",
    "@react-native-async-storage/async-storage": "1.21.0",
    "@react-native-community/datetimepicker": "7.7.0",
    "@react-native-community/slider": "4.4.2",
    "@storybook/addon-essentials": "^7.6.13",
    "@storybook/addon-interactions": "^7.6.13",
    "@storybook/addon-knobs": "^7.0.2",
    "@storybook/addon-links": "^7.6.13",
    "@storybook/addon-ondevice-actions": "^7.6.19",
    "@storybook/addon-ondevice-backgrounds": "^7.6.19",
    "@storybook/addon-ondevice-controls": "^7.6.19",
    "@storybook/addon-ondevice-knobs": "^7.6.19",
    "@storybook/addon-ondevice-notes": "^7.6.19",
    "@storybook/addon-react-native-server": "0.0.5--canary.3.18ef8d7.0",
    "@storybook/addon-react-native-web": "^0.0.22",
    "@storybook/blocks": "^7.6.13",
    "@storybook/builder-webpack5": "^7.6.13",
    "@storybook/core-common": "^7.6.13",
    "@storybook/docs-tools": "^7.6.13",
    "@storybook/global": "^5.0.0",
    "@storybook/react": "^7.6.13",
    "@storybook/react-native": "^7.6.19",
    "@storybook/react-webpack5": "^7.6.13",
    "@storybook/test": "^7.6.13",
    "expo": "^50.0.2",
    "querystring": "^0.2.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.73.6",
    "react-native-safe-area-context": "4.8.2",
    "react-native-web": "~0.19.6",
    "storybook": "^7.6.13",
    "ws": "^8.16.0"
  },
  "resolutions": {
    "react": "18.2.0"
  },
  "devDependencies": {
    "@babel/core": "^7.19.3",
    "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
    "@react-native/babel-preset": "^0.74.0",
    "@testing-library/react-native": "12.5.1",
    "@types/react": "~18.2.45",
    "@types/react-test-renderer": "^18.0.7",
    "@types/ws": "^8.5.10",
    "babel-plugin-react-docgen-typescript": "^1.5.1",
    "jest": "29.7.0",
    "jest-expo": "~50.0.4",
    "metro-react-native-babel-preset": "^0.77.0",
    "react-test-renderer": "18.2.0",
    "ts-node": "^10.9.1",
    "typescript": "^5.3.3"
  },
  "jest": {
    "preset": "jest-expo",
    "setupFilesAfterEnv": [
      "<rootDir>/setup-jest.ts"
    ]
  }
}

from react-native.

dannyhw avatar dannyhw commented on August 29, 2024

the repo is a yarn workspace and shouldn't be used with npm, you should run yarn install in the root of the workspace

from react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.