2017-01-26 11:49:39 -08:00
|
|
|
{
|
|
|
|
"name": "react-navigation",
|
2018-06-07 11:33:14 -07:00
|
|
|
"version": "2.2.4",
|
2018-02-06 14:53:08 -08:00
|
|
|
"description": "Routing and navigation for your React Native apps",
|
2017-01-26 11:49:39 -08:00
|
|
|
"main": "src/react-navigation.js",
|
|
|
|
"repository": {
|
2018-01-23 21:58:52 +00:00
|
|
|
"url": "git@github.com:react-navigation/react-navigation.git",
|
2017-01-26 11:49:39 -08:00
|
|
|
"type": "git"
|
|
|
|
},
|
2018-03-12 14:24:51 -07:00
|
|
|
"author": "Adam Miskiewicz <adam@sk3vy.com>, Eric Vicenti <ericvicenti@gmail.com>, Brent Vatne <brent@expo.io>",
|
2017-01-26 11:49:39 -08:00
|
|
|
"license": "BSD-2-Clause",
|
|
|
|
"scripts": {
|
2018-01-24 20:48:58 -08:00
|
|
|
"start": "npm run ios",
|
|
|
|
"ios": "cd examples/NavigationPlayground && yarn && yarn ios",
|
|
|
|
"android": "cd examples/NavigationPlayground && yarn && yarn android",
|
2018-01-24 17:52:09 -08:00
|
|
|
"test": "npm run lint && npm run jest",
|
2017-05-14 14:33:39 -07:00
|
|
|
"codecov": "codecov",
|
2017-04-24 14:01:22 +02:00
|
|
|
"jest": "jest",
|
2018-01-25 00:13:28 -08:00
|
|
|
"test-update-snapshot": "jest --updateSnapshot",
|
2017-05-14 12:14:12 -07:00
|
|
|
"lint": "eslint .",
|
|
|
|
"format": "eslint --fix .",
|
2018-01-24 20:48:58 -08:00
|
|
|
"precommit": "lint-staged"
|
2017-01-26 11:49:39 -08:00
|
|
|
},
|
2018-03-09 10:55:00 -08:00
|
|
|
"files": [
|
|
|
|
"src"
|
|
|
|
],
|
2017-07-03 15:06:08 -07:00
|
|
|
"peerDependencies": {
|
|
|
|
"react": "*",
|
|
|
|
"react-native": "*"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"clamp": "^1.0.1",
|
2018-03-15 18:55:00 +01:00
|
|
|
"create-react-context": "^0.2.1",
|
2017-07-19 13:03:46 -07:00
|
|
|
"hoist-non-react-statics": "^2.2.0",
|
2017-07-03 15:06:08 -07:00
|
|
|
"path-to-regexp": "^1.7.0",
|
|
|
|
"prop-types": "^15.5.10",
|
2018-05-04 10:10:14 -07:00
|
|
|
"react-lifecycles-compat": "^3",
|
2018-05-25 14:30:03 -07:00
|
|
|
"react-native-safe-area-view": "^0.8.0",
|
|
|
|
"react-navigation-deprecated-tab-navigator": "1.3.0",
|
2018-06-06 14:34:42 -07:00
|
|
|
"react-navigation-drawer": "0.2.1",
|
2018-06-06 13:24:29 -07:00
|
|
|
"react-navigation-tabs": "0.5.1"
|
2017-07-03 15:06:08 -07:00
|
|
|
},
|
2017-01-26 11:49:39 -08:00
|
|
|
"devDependencies": {
|
2017-05-14 12:14:12 -07:00
|
|
|
"babel-cli": "^6.24.1",
|
2017-07-03 21:36:47 -07:00
|
|
|
"babel-core": "^6.25.0",
|
2017-05-14 12:14:12 -07:00
|
|
|
"babel-eslint": "^7.2.3",
|
2018-03-16 16:21:17 -07:00
|
|
|
"babel-jest": "^22.4.1",
|
2017-07-19 13:03:46 -07:00
|
|
|
"babel-preset-react-native": "^2.1.0",
|
2017-05-14 14:33:39 -07:00
|
|
|
"codecov": "^2.2.0",
|
2017-07-19 13:03:46 -07:00
|
|
|
"eslint": "^4.2.0",
|
2018-04-27 10:57:07 -05:00
|
|
|
"eslint-config-prettier": "^2.9.0",
|
2017-07-19 13:03:46 -07:00
|
|
|
"eslint-plugin-import": "^2.7.0",
|
2017-07-03 21:36:47 -07:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.0.2",
|
2018-04-27 10:57:07 -05:00
|
|
|
"eslint-plugin-prettier": "^2.6.0",
|
2017-07-03 21:36:47 -07:00
|
|
|
"eslint-plugin-react": "^7.1.0",
|
2017-09-16 07:17:09 +09:00
|
|
|
"husky": "^0.14.3",
|
2018-01-25 00:13:28 -08:00
|
|
|
"jest": "^22.1.3",
|
2018-03-16 16:21:17 -07:00
|
|
|
"jest-expo": "^25.1.0",
|
2017-09-16 07:17:09 +09:00
|
|
|
"lint-staged": "^4.2.1",
|
2018-04-27 10:57:07 -05:00
|
|
|
"prettier": "^1.12.1",
|
|
|
|
"prettier-eslint": "^8.8.1",
|
2018-01-30 12:22:20 -06:00
|
|
|
"react": "16.2.0",
|
|
|
|
"react-native": "^0.52.0",
|
2017-07-03 21:36:47 -07:00
|
|
|
"react-native-vector-icons": "^4.2.0",
|
2017-09-29 16:11:30 -05:00
|
|
|
"react-test-renderer": "^16.0.0"
|
2017-01-26 11:49:39 -08:00
|
|
|
},
|
|
|
|
"jest": {
|
2017-01-31 04:13:24 +01:00
|
|
|
"notify": true,
|
|
|
|
"preset": "react-native",
|
2018-04-27 10:57:07 -05:00
|
|
|
"testRegex": "/__tests__/[^/]+-test\\.js$",
|
2018-03-09 10:55:00 -08:00
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/jest-setup.js"
|
|
|
|
],
|
2017-05-14 14:33:39 -07:00
|
|
|
"coverageDirectory": "./coverage/",
|
|
|
|
"collectCoverage": true,
|
2018-03-09 10:55:00 -08:00
|
|
|
"coverageReporters": [
|
|
|
|
"lcov"
|
|
|
|
],
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*.js"
|
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
"jest-setup.js"
|
|
|
|
],
|
2018-04-27 10:57:07 -05:00
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.png$": "<rootDir>/assetsTransformer.js"
|
|
|
|
},
|
2018-03-09 10:55:00 -08:00
|
|
|
"modulePathIgnorePatterns": [
|
2018-04-27 10:57:07 -05:00
|
|
|
"<rootDir>/examples/"
|
2018-03-15 13:40:29 -07:00
|
|
|
],
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element|react-navigation-deprecated-tab-navigator)"
|
2018-03-09 10:55:00 -08:00
|
|
|
]
|
2017-09-16 07:17:09 +09:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2018-02-12 17:45:50 -05:00
|
|
|
"*.js": [
|
|
|
|
"eslint --fix",
|
|
|
|
"prettier --write flow/react-navigation.js",
|
|
|
|
"git add"
|
|
|
|
]
|
2017-01-26 11:49:39 -08:00
|
|
|
}
|
|
|
|
}
|