-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
207 lines (207 loc) · 7.7 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
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "WAPI",
"version": "1.4.0",
"private": true,
"scripts": {
"gc": "git add . && git-cz",
"test": "jest --verbose",
"lint": "eslint src/**/*.js",
"test:watch": "jest --watch",
"updateSnapshot": "jest --updateSnapshot",
"coverage": "jest --coverage && open coverage/lcov-report/index.html || xdg-open coverage/lcov-report/index.html",
"start": "node node_modules/react-native/local-cli/cli.js start",
"start:rc": "npm start -- --reset-cache",
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache verify",
"clean:start": "npm run clean && npm run start:rc",
"clean:debug": "npm run clean && cd android/ && ./gradlew clean && cd .. && react-native run-android",
"clean:release": "npm run clean && cd android/ && ./gradlew clean && cd .. && react-native run-android --variant=release",
"fresh-install": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build/ModuleCache/* && rm -rf node_modules/ && npm cache verify && npm install",
"fresh-start": "npm run fresh-install && npm run start:rc",
"android:build": "cd android && ./gradlew assembleRelease",
"android:install": "cd android && ./gradlew assembleRelease && ./gradlew installRelease",
"android:devices": "$ANDROID_HOME/platform-tools/adb devices",
"android:logcat": "$ANDROID_HOME/platform-tools/adb logcat *:S ReactNative:V ReactNativeJS:V",
"validate": "npm-run-all --parallel test lint",
"commitmsg": "commitlint -e $GIT_PARAMS",
"precommit": "npm run validate",
"prepush": "npm run validate",
"e2e:ios": "detox build --configuration ios.sim.debug && detox test --configuration ios.sim.debug",
"e2e:android": "detox build --configuration android.emu.debug && detox test --configuration android.emu.debug -l verbose",
"test:ios": "npm-run-all --parallel validate e2e:ios",
"test:android": "npm-run-all --parallel validate e2e:android",
"preversion": "./bin/pre-version.sh",
"version": "./bin/version-ios.sh",
"postversion": "./bin/post-version.sh",
"prepare": "patch-package --ignore-whitespace"
},
"engines": {
"node": ">=8.1.4"
},
"dependencies": {
"apisauce": "^0.15.2",
"assert": "^1.4.1",
"geodist": "^0.2.1",
"html-entities": "^1.2.1",
"moment-opening-times": "^2.9.0",
"native-base": "^2.7.2",
"prop-types": "^15.6.2",
"react": "16.4.1",
"react-native": "0.55.4",
"react-native-android-location-enabler": "^1.0.8",
"react-native-animatable": "^1.3.0",
"react-native-cacheable-image": "^2.0.0",
"react-native-communications": "^2.2.1",
"react-native-config": "^0.11.5",
"react-native-datepicker": "^1.7.2",
"react-native-exception-handler": "^2.9.0",
"react-native-fast-image": "^4.0.14",
"react-native-gifted-form": "^0.1.1",
"react-native-google-static-map": "^0.1.12",
"react-native-image-zoom-viewer": "^2.2.13",
"react-native-linear-gradient": "^2.4.0",
"react-native-modal": "^6.5.0",
"react-native-offline-mode": "^0.1.5",
"react-native-onboarding-swiper": "^0.7.0",
"react-native-permissions": "^1.1.1",
"react-native-radar": "^1.0.17",
"react-native-restart": "git+ssh://[email protected]/avishayil/react-native-restart",
"react-native-router-flux": "^4.0.0-beta.31",
"react-native-select-input-ios": "^1.2.0",
"react-native-sentry": "^0.38.3",
"react-native-star-rating": "^1.0.9",
"react-native-step-indicator": "0.0.9",
"react-native-view-more-text": "^2.0.1",
"react-native-zoom-image": "^0.1.2",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-logger": "^3.0.6",
"redux-persist": "^5.10.0",
"redux-thunk": "^2.3.0",
"retry-axios": "^0.3.2"
},
"devDependencies": {
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"@semantic-release/changelog": "^3.0.0",
"@semantic-release/exec": "^3.0.1",
"@semantic-release/git": "^7.0.1",
"babel-eslint": "^8.2.6",
"babel-jest": "23.4.2",
"babel-plugin-module-resolver": "^3.1.1",
"babel-preset-react-native": "^4.0.0",
"commitizen": "^2.10.1",
"cz-customizable": "^5.2.0",
"detox": "^6.0.4",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.3.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-import-resolver-babel-module": "^5.0.0-beta.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-react-native": "^3.2.1",
"husky": "^0.14.3",
"inquirer": "^6.0.0",
"jest": "23.4.2",
"npm-run-all": "^4.1.3",
"patch-package": "^5.1.1",
"react-dom": "16.4.1",
"react-test-renderer": "16.4.1",
"reactotron-react-native": "^2.0.0",
"reactotron-redux": "^2.0.0",
"redux-mock-store": "^1.5.3",
"semantic-release": "^15.9.5"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"cz-customizable": {
"config": ".cz-config.js"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"branch": "develop",
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/git",
"@semantic-release/github"
],
"getLastRelease": "@semantic-release/git",
"prepare": [
{
"path": "@semantic-release/changelog",
"changelogFile": "docs/CHANGELOG.md"
},
{
"path": "@semantic-release/npm",
"npmPublish": false
},
{
"path": "@semantic-release/exec",
"cmd": "bin/version-ios.sh"
},
{
"path": "@semantic-release/git",
"assets": [
"package.json",
"ios/WAPI",
"docs"
],
"message": "chore(release): v${nextRelease.version} - <%= new Date().toLocaleDateString('en-US', {year: 'numeric', month: 'short', day: 'numeric', hour: 'numeric', minute: 'numeric'}) %> [skip ci]\n\n${nextRelease.notes}"
}
],
"publish": [
"@semantic-release/github"
]
},
"jest": {
"collectCoverage": true,
"preset": "react-native",
"testRegex": "/__tests__/unit/.*\\.spec\\.js$",
"setupTestFrameworkScriptFile": "./__tests__/unit/setup.js"
},
"detox": {
"test-runner": "jest",
"specs": "__tests__/e2e/src",
"runner-config": "__tests__/e2e/config.json",
"configurations": {
"android.emu.debug": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
"type": "android.emulator",
"name": "Nexus_5X_API_25"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
"type": "android.emulator",
"name": "Nexus_5X_API_25"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/WAPI.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/WAPI.xcodeproj -scheme WAPI -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet",
"type": "ios.simulator",
"name": "iPhone 7 Plus"
},
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/WAPI.app",
"build": "xcodebuild -project ios/WAPI.xcodeproj -scheme WAPI -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 7 Plus"
}
}
},
"pods": {
"RadarSDK": {
"pod": "RadarSDK"
}
}
}