Files
react-native-maps/example/package.json
T
James Ide d274eb48a9 [RN 0.40] Update iOS header imports and JS SyntheticEvent import for RN 0.40
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).
2017-01-05 11:46:02 -08:00

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"
}
}