mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-23 00:28:12 +00:00
103 lines
2.9 KiB
JSON
103 lines
2.9 KiB
JSON
{
|
|
"name": "react-navigation",
|
|
"version": "2.0.4",
|
|
"description": "Routing and navigation for your React Native apps",
|
|
"main": "src/react-navigation.js",
|
|
"repository": {
|
|
"url": "git@github.com:react-navigation/react-navigation.git",
|
|
"type": "git"
|
|
},
|
|
"author": "Adam Miskiewicz <adam@sk3vy.com>, Eric Vicenti <ericvicenti@gmail.com>, Brent Vatne <brent@expo.io>",
|
|
"license": "BSD-2-Clause",
|
|
"scripts": {
|
|
"start": "npm run ios",
|
|
"ios": "cd examples/NavigationPlayground && yarn && yarn ios",
|
|
"android": "cd examples/NavigationPlayground && yarn && yarn android",
|
|
"test": "npm run lint && npm run jest",
|
|
"codecov": "codecov",
|
|
"jest": "jest",
|
|
"test-update-snapshot": "jest --updateSnapshot",
|
|
"lint": "eslint .",
|
|
"format": "eslint --fix .",
|
|
"precommit": "lint-staged"
|
|
},
|
|
"files": [
|
|
"src"
|
|
],
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": "*"
|
|
},
|
|
"dependencies": {
|
|
"clamp": "^1.0.1",
|
|
"create-react-context": "^0.2.1",
|
|
"hoist-non-react-statics": "^2.2.0",
|
|
"path-to-regexp": "^1.7.0",
|
|
"prop-types": "^15.5.10",
|
|
"react-lifecycles-compat": "^3",
|
|
"react-native-drawer-layout-polyfill": "^1.3.2",
|
|
"react-native-safe-area-view": "^0.8.0",
|
|
"react-navigation-deprecated-tab-navigator": "1.3.0",
|
|
"react-navigation-tabs": "0.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.24.1",
|
|
"babel-core": "^6.25.0",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-jest": "^22.4.1",
|
|
"babel-preset-react-native": "^2.1.0",
|
|
"codecov": "^2.2.0",
|
|
"eslint": "^4.2.0",
|
|
"eslint-config-prettier": "^2.9.0",
|
|
"eslint-plugin-import": "^2.7.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.2",
|
|
"eslint-plugin-prettier": "^2.6.0",
|
|
"eslint-plugin-react": "^7.1.0",
|
|
"husky": "^0.14.3",
|
|
"jest": "^22.1.3",
|
|
"jest-expo": "^25.1.0",
|
|
"lint-staged": "^4.2.1",
|
|
"prettier": "^1.12.1",
|
|
"prettier-eslint": "^8.8.1",
|
|
"react": "16.2.0",
|
|
"react-native": "^0.52.0",
|
|
"react-native-vector-icons": "^4.2.0",
|
|
"react-test-renderer": "^16.0.0"
|
|
},
|
|
"jest": {
|
|
"notify": true,
|
|
"preset": "react-native",
|
|
"testRegex": "/__tests__/[^/]+-test\\.js$",
|
|
"setupFiles": [
|
|
"<rootDir>/jest-setup.js"
|
|
],
|
|
"coverageDirectory": "./coverage/",
|
|
"collectCoverage": true,
|
|
"coverageReporters": [
|
|
"lcov"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"src/**/*.js"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"jest-setup.js"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.png$": "<rootDir>/assetsTransformer.js"
|
|
},
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/examples/"
|
|
],
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element|react-navigation-deprecated-tab-navigator)"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"prettier --write flow/react-navigation.js",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|