package.json
5.06 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"_args": [
[
"react-navigation@1.0.0-beta.22",
"/Users/huaxin/Desktop/project/B2CMall"
]
],
"_from": "react-navigation@1.0.0-beta.22",
"_id": "react-navigation@1.0.0-beta.22",
"_inBundle": false,
"_integrity": "sha1-vnp6Bm+Uo31O7v8Bus/6vcZsV+c=",
"_location": "/react-navigation",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "react-navigation@1.0.0-beta.22",
"name": "react-navigation",
"escapedName": "react-navigation",
"rawSpec": "1.0.0-beta.22",
"saveSpec": null,
"fetchSpec": "1.0.0-beta.22"
},
"_requiredBy": [
"/",
"/react-navigation-is-focused-hoc"
],
"_resolved": "http://registry.npm.taobao.org/react-navigation/download/react-navigation-1.0.0-beta.22.tgz",
"_spec": "1.0.0-beta.22",
"_where": "/Users/huaxin/Desktop/project/B2CMall",
"author": {
"name": "Adam Miskiewicz",
"email": "adam@sk3vy.com"
},
"bugs": {
"url": "https://github.com/react-community/react-navigation/issues"
},
"dependencies": {
"babel-plugin-transform-define": "^1.3.0",
"clamp": "^1.0.1",
"hoist-non-react-statics": "^2.2.0",
"path-to-regexp": "^1.7.0",
"prop-types": "^15.5.10",
"react-native-drawer-layout-polyfill": "^1.3.2",
"react-native-tab-view": "^0.0.70"
},
"description": "React Navigation",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-react-native": "^2.1.0",
"babel-preset-react-native-stage-0": "^1.0.1",
"babel-preset-react-native-syntax": "^1.0.0",
"babel-preset-stage-1": "^6.24.1",
"codecov": "^2.2.0",
"eslint": "^4.2.0",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-flowtype": "^2.35.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-prettier": "^2.1.2",
"eslint-plugin-react": "^7.1.0",
"flow-bin": "^0.56.0",
"husky": "^0.14.3",
"jest": "^20.0.4",
"lint-staged": "^4.2.1",
"prettier": "^1.5.3",
"prettier-eslint": "^6.4.2",
"react": "16.0.0",
"react-native": "^0.50.3",
"react-native-vector-icons": "^4.2.0",
"react-test-renderer": "^16.0.0"
},
"files": [
"lib",
"lib-rn",
"src"
],
"homepage": "https://github.com/react-community/react-navigation#readme",
"jest": {
"notify": true,
"preset": "react-native",
"testRegex": "./src/.*\\-test\\.js$",
"setupFiles": [
"<rootDir>/jest-setup.js"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"coveragePathIgnorePatterns": [
"jest-setup.js"
],
"modulePathIgnorePatterns": [
"examples"
]
},
"license": "BSD-2-Clause",
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"main": "src/react-navigation.js",
"module": "lib/react-navigation.web.js",
"name": "react-navigation",
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"repository": {
"url": "git+ssh://git@github.com/react-community/react-navigation.git",
"type": "git"
},
"scripts": {
"build": "npm run build-docs && npm run build-web && npm run build-rn && npm run build-dot-flow",
"build-docs": "node scripts/compile-docs",
"build-dot-flow": "find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow && cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib-rn\\//g'`.flow; done",
"build-rn": "mkdir -p lib-rn/views/ && cp -R src/views/assets lib-rn/views/assets && BABEL_ENV=publish-rn babel src -d lib-rn --ignore __tests__",
"build-web": "mkdir -p lib/views/ && cp -R src/views/assets lib/views/assets && BABEL_ENV=publish-web babel src -d lib --ignore __tests__",
"clean": "rm -rf lib/ lib-rn/",
"codecov": "codecov",
"flow": "flow",
"flow-check": "flow check --show-all-errors",
"format": "eslint --fix .",
"jest": "jest",
"lint": "eslint .",
"precommit": "lint-staged",
"prepublish": "npm run clean && npm run build",
"run-playground-android": "cd examples/NavigationPlayground && npm run android",
"run-playground-ios": "cd examples/NavigationPlayground && npm run ios",
"run-redux-android": "cd examples/ReduxExample && react-native run-android",
"run-redux-ios": "cd examples/ReduxExample && react-native run-ios",
"start": "npm run run-playground-ios",
"test": "npm run lint && npm run flow-check && npm run jest",
"watch-rn": "mkdir -p lib-rn/views/ && cp -R src/views/assets lib/views/assets && BABEL_ENV=publish-rn babel -w src -d lib-rn",
"watch-web": "mkdir -p lib/views/ && cp -R src/views/assets lib/views/assets && BABEL_ENV=publish-web babel -w src -d lib"
},
"sources": {
"react-native-v1": "lib-rn/react-navigation.js",
"web": "lib/react-navigation.web.js"
},
"version": "1.0.0-beta.22",
"webpack": "lib/react-navigation.web.js"
}