forked from jednano/react-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 3.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "react-navigation",
"version": "2.0.0-rc.7",
"description": "Routing and navigation for your React Native apps",
"main": "src/react-navigation.js",
"types": "src/react-navigation.d.ts",
"repository": {
"url": "[email protected]:react-navigation/react-navigation.git",
"type": "git"
},
"author": "Adam Miskiewicz <[email protected]>, Eric Vicenti <[email protected]>, Brent Vatne <[email protected]>",
"license": "BSD-2-Clause",
"scripts": {
"start": "npm run ios",
"ios": "cd examples/NavigationPlayground && yarn && yarn ios",
"android": "cd examples/NavigationPlayground && yarn && yarn android",
"pretest": "npm run lint && npm run build",
"test": "npm run jest",
"codecov": "codecov",
"jest": "jest",
"test-update-snapshot": "jest --updateSnapshot",
"lint": "npm run lint:es && npm run lint:ts",
"lint:es": "eslint .",
"lint:ts": "tslint --project tsconfig.test.json",
"format": "eslint --fix .",
"precommit": "lint-staged",
"prettier:js": "prettier --write flow/react-navigation.js",
"prettier:ts": "prettier --parser typescript --write src/**/*.ts",
"build": "tsc",
"build:watch": "tsc -p tsconfig.test.json --watch",
"watch": "npm test -- --watch"
},
"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": "^1.0.2",
"react-native-drawer-layout-polyfill": "^1.3.2",
"react-native-safe-area-view": "^0.7.0",
"react-navigation-deprecated-tab-navigator": "1.1.0",
"react-navigation-tabs": "0.1.0-alpha.8"
},
"devDependencies": {
"@types/jest": "^22.2.3",
"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",
"ts-jest": "^22.4.4",
"tslint": "^5.9.1",
"typescript": "^2.8.3"
},
"jest": {
"notify": true,
"preset": "react-native",
"testRegex": "/__tests__/[^/]+-test\\.[jt]sx?$",
"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/"
],
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element|react-navigation-deprecated-tab-navigator)"
]
},
"lint-staged": {
"*.ts": [
"npm run prettier:ts",
"git add"
],
"*.js": [
"npm run format",
"npm run prettier:js",
"git add"
]
}
}