mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-11 09:20:54 +08:00
69 lines
2.1 KiB
JSON
69 lines
2.1 KiB
JSON
{
|
|
"name": "NavigationPlayground",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"postinstall": "patch-package && rm -rf node_modules/react-navigation/node_modules/react-native && rm -rf node_modules/react-navigation/node_modules/@types && rm -rf node_modules/react-navigation/node_modules/examples && rm -rf node_modules/react-navigation/node_modules/react-native-gesture-handler && rm -rf node_modules/react-navigation/node_modules/react",
|
|
"start": "node node_modules/react-native/local-cli/cli.js start",
|
|
"test": "jest && tsc",
|
|
"tsc": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"patch-package": "^6.0.5",
|
|
"postinstall-postinstall": "^2.0.0",
|
|
"react": "16.6.1",
|
|
"react-native": "0.57.7",
|
|
"react-native-blur": "^3.2.2",
|
|
"react-native-gesture-handler": "^1.1.0",
|
|
"react-native-iphone-x-helper": "^1.2.0",
|
|
"react-native-vector-icons": "^6.1.0",
|
|
"react-navigation": "file:../..",
|
|
"react-navigation-header-buttons": "^2.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "23.3.10",
|
|
"@types/react-native": "~0.57.38",
|
|
"@types/react-native-vector-icons": "^4.6.4",
|
|
"@types/react-test-renderer": "16.0.3",
|
|
"babel-jest": "23.6.0",
|
|
"jest": "23.6.0",
|
|
"metro-react-native-babel-preset": "0.50.0",
|
|
"react-test-renderer": "16.6.1",
|
|
"ts-jest": "^23.10.4",
|
|
"tslint": "^5.11.0",
|
|
"tslint-config-prettier": "^1.16.0",
|
|
"tslint-react": "^3.6.0",
|
|
"typescript": "3.2.1"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"transform": {
|
|
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js",
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!((jest-)?react-native|react-navigation|@react-navigation/.*))"
|
|
],
|
|
"globals": {
|
|
"ts-jest": {
|
|
"tsConfig": "tsconfig.jest.json"
|
|
}
|
|
},
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
],
|
|
"setupFiles": [
|
|
"./tests/setup.js"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"react-native-gesture-handler": "^1.1.0"
|
|
}
|
|
}
|