Files
turso/examples/react-native/package.json
Pekka Enberg eab85f6696 Update eslint to 10.2.0
Bump eslint from ^8 to ^10.2.0 in bindings/react-native and
examples/react-native to resolve dependabot alerts for vulnerable
transitive dependencies (minimatch, flatted, picomatch, etc).

Migrate examples/react-native from .eslintrc.js to eslint.config.js
(flat config) since eslint 10 dropped legacy config support. Add
@eslint/eslintrc for FlatCompat bridge with @react-native/eslint-config.
2026-04-12 08:42:53 +03:00

45 lines
1.3 KiB
JSON

{
"name": "TursoExample",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@react-native/new-app-screen": "0.83.1",
"@tursodatabase/sync-react-native": "file:../../bindings/react-native",
"react": "19.2.0",
"react-native": "0.83.1",
"react-native-safe-area-context": "^5.5.2"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@eslint/eslintrc": "^3.3.5",
"@react-native-community/cli": "20.0.0",
"@react-native-community/cli-platform-android": "20.0.0",
"@react-native-community/cli-platform-ios": "20.0.0",
"@react-native/babel-preset": "0.83.1",
"@react-native/eslint-config": "0.83.1",
"@react-native/metro-config": "0.83.1",
"@react-native/typescript-config": "0.83.1",
"@types/jest": "^29.5.13",
"@types/react": "^19.2.0",
"@types/react-test-renderer": "^19.1.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"eslint": "^10.2.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react-test-renderer": "19.2.0",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=20"
}
}