rsnext/examples/with-expo-typescript/package.json
Craig Wheeler 57426a2849
Update Examples to use React 18 (#42027)
This PR updates the minimum version of React used by examples from 17.0.2 to 18.2.0.

Fixes #41975

## Bug

- [x] Related issues linked using `fixes #41975`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see `contributing.md`

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm build && pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-10-28 17:43:20 +00:00

33 lines
866 B
JSON

{
"private": true,
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"dev": "next",
"build": "next build",
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "next",
"eject-next": "next-expo customize",
"eject": "expo eject",
"type-check": "tsc"
},
"dependencies": {
"expo": "~37.0.3",
"next": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
"react-native-web": "~0.11.7"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"@expo/next-adapter": "2.1.9",
"@types/node": "14.0.4",
"@types/react": "16.9.35",
"@types/react-dom": "16.9.8",
"@types/react-native": "0.62.10",
"babel-preset-expo": "~8.1.0",
"typescript": "4.4.4"
}
}