mirror of
https://github.com/expo/react-native-maps.git
synced 2026-11-15 17:39:30 -10:00
React Native 0.40 (coming soon) changes the way its iOS headers should be imported. The headers are now under a directory called "React" that is in the compiler's include path, hence the new import style. On the JS side, RN 0.40 now peer-depends on React 15.4.x which moved SyntheticEvent from `react/lib` to deep inside `react-native`, so update that import as well. Test Plan: Follow the setup instructions (https://github.com/airbnb/react-native-maps/blob/master/docs/examples-setup.md) and run the explorer app (notably verify that it compiles).
24 lines
632 B
JSON
24 lines
632 B
JSON
{
|
|
"name": "AirMapsExplorer",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "react-native start",
|
|
"watch": "node ./scripts/watch-and-copy-src.js",
|
|
"packager": "sh ./node_modules/react-native/packager/packager.sh --root ./node_modules/react-native-maps",
|
|
"dev": "concurrently 'npm run watch' 'npm run packager'"
|
|
},
|
|
"dependencies": {
|
|
"react": "~15.4.1",
|
|
"react-native": "^0.40.0",
|
|
"react-native-maps": "file:../"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^2.2.0",
|
|
"fs-extra": "^0.30.0",
|
|
"minimatch": "^3.0.2",
|
|
"node-watch": "^0.4.0",
|
|
"rimraf": "^2.5.4"
|
|
}
|
|
}
|