2017-01-26 11:49:39 -08:00
|
|
|
{
|
|
|
|
"name": "react-navigation",
|
2018-02-06 15:59:44 -08:00
|
|
|
"version": "1.0.0-rc.3",
|
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-02-01 11:25:30 -08:00
|
|
|
"author":
|
|
|
|
"Adam Miskiewicz <adam@sk3vy.com>, Eric Vicenti <ericvicenti@gmail.com>",
|
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-02-02 14:57:31 -05:00
|
|
|
"files": ["src"],
|
2017-07-03 15:06:08 -07:00
|
|
|
"peerDependencies": {
|
|
|
|
"react": "*",
|
|
|
|
"react-native": "*"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"clamp": "^1.0.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",
|
2017-07-03 21:36:47 -07:00
|
|
|
"react-native-drawer-layout-polyfill": "^1.3.2",
|
2018-01-04 19:45:35 +05:30
|
|
|
"react-native-tab-view": "^0.0.74"
|
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",
|
2017-07-03 21:36:47 -07:00
|
|
|
"babel-jest": "^20.0.3",
|
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",
|
2017-07-03 21:36:47 -07:00
|
|
|
"eslint-config-prettier": "^2.3.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",
|
|
|
|
"eslint-plugin-prettier": "^2.1.2",
|
|
|
|
"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",
|
2017-09-16 07:17:09 +09:00
|
|
|
"lint-staged": "^4.2.1",
|
2017-07-19 13:03:46 -07:00
|
|
|
"prettier": "^1.5.3",
|
|
|
|
"prettier-eslint": "^6.4.2",
|
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",
|
|
|
|
"testRegex": "./src/.*\\-test\\.js$",
|
2018-02-01 11:25:30 -08:00
|
|
|
"setupFiles": ["<rootDir>/jest-setup.js"],
|
2017-05-14 14:33:39 -07:00
|
|
|
"coverageDirectory": "./coverage/",
|
|
|
|
"collectCoverage": true,
|
2018-02-01 11:25:30 -08:00
|
|
|
"coverageReporters": ["lcov"],
|
|
|
|
"collectCoverageFrom": ["src/**/*.js"],
|
|
|
|
"coveragePathIgnorePatterns": ["jest-setup.js"],
|
|
|
|
"modulePathIgnorePatterns": ["examples"]
|
2017-09-16 07:17:09 +09:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2018-02-01 11:25:30 -08:00
|
|
|
"*.js": ["eslint --fix", "git add"]
|
2017-01-26 11:49:39 -08:00
|
|
|
}
|
|
|
|
}
|