mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 17:18:09 +00:00
* [Playground] Commit auto-changes to package.json, yarn.lock * [Playground] Rerun create-react-native-app Preserving rn-cli.js and transformer.js Still not quite working. * [Playground] Fix the Expo loading issue by removing projectRoots Now it looks in the right place to find its resources, including 'entryPoint'. * [Playground] Add postinstall script to clean up files Yarn copies in Yarn copies them when installing locally, causing lots of @providesModule collisions. * Update the Contributors guide to explain how to use the example app And recommend Yarn by default * [Playground] Remove now-obsolete rn-cli.config.js * [Playground] Upgrade expo and other dependencies * [Playground] Don't delete .git just in case
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"name": "NavigationPlayground",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
|
|
"scripts": {
|
|
"postinstall": "rm -rf node_modules/react-navigation/{node_modules,examples}",
|
|
"start": "react-native-scripts start",
|
|
"eject": "react-native-scripts eject",
|
|
"android": "react-native-scripts android",
|
|
"ios": "react-native-scripts ios",
|
|
"test": "node node_modules/jest/bin/jest.js"
|
|
},
|
|
"dependencies": {
|
|
"expo": "^20.1.2",
|
|
"flow-bin": "^0.49.1",
|
|
"react": "16.0.0-alpha.12",
|
|
"react-native": "~0.47.2",
|
|
"react-navigation": "file:../.."
|
|
},
|
|
"devDependencies": {
|
|
"babel-jest": "^21.0.0",
|
|
"jest": "^21.0.1",
|
|
"jest-expo": "^20.0.0",
|
|
"react-addons-test-utils": "16.0.0-alpha.3",
|
|
"react-native-scripts": "^1.3.1",
|
|
"react-test-renderer": "16.0.0-alpha.12"
|
|
},
|
|
"jest": {
|
|
"preset": "jest-expo",
|
|
"moduleFileExtensions": [
|
|
"web.js",
|
|
"js",
|
|
"json",
|
|
"jsx",
|
|
"node"
|
|
],
|
|
"modulePathIgnorePatterns": [
|
|
"/node_modules/.*/react-native/",
|
|
"/node_modules/.*/react/"
|
|
],
|
|
"transformIgnorePatterns": [
|
|
"/node_modules/(?!react-native|react-navigation)/"
|
|
]
|
|
}
|
|
}
|