-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
161 lines (161 loc) · 7.17 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
{
"name": "tinyrobot",
"version": "4.41.0",
"private": true,
"scripts": {
"start": "ENVFILE=.env.staging node node_modules/react-native/local-cli/cli.js start",
"xcode:clean": "rm -rf ios/DerivedData/* && rm -rf ios/build/*",
"ios": "ENVFILE=.env.staging node node_modules/react-native/local-cli/cli.js run-ios --simulator 'iPhone 8 Plus' --scheme tinyrobotStaging",
"android": "ENVFILE=.env.staging node node_modules/react-native/local-cli/cli.js run-android --variant stagingDebug --appIdSuffix='staging'",
"androidShake": "adb shell input keyevent 82",
"androidReload": "adb shell input text RR",
"androidNetwork": "adb reverse tcp:8081 tcp:8081",
"androidInstall": "cd android && ./gradlew clean && ./gradlew assembleStagingDebug && ./gradlew installStagingDebug && cd .. && yarn androidNetwork",
"test": "npm run testLocal && npm run jestWockyCI",
"testLocal": "npm run lint && npm run tsc:all",
"tsc": "node node_modules/.bin/tsc -p tsconfig.build.json",
"tsc:all": "node node_modules/.bin/tsc -p tsconfig.json",
"jestWocky": "jest --config jest.wocky.config.js",
"jestWockyCI": "jest --config jest.wocky.config.js --no-cache --i --detectOpenHandles --forceExit",
"jest": "jest --config jest.config.js",
"jestCI": "jest --config jest.config.js --verbose --runInBand",
"lint": "tslint -p . -c tslint.json 'src/**/*.ts' 'src/**/*.tsx'",
"prettify": "prettier --write 'src/**/*.ts?(x)'",
"codepush": "ts-node -P tsconfig.script.json ./scripts/codepush/codepush.ts",
"versionBump": "ts-node -P tsconfig.script.json ./scripts/version-increment.ts",
"bugsnag": "ts-node -P tsconfig.script.json ./scripts/sendBugsnagSymbols.ts",
"detoxTest": "detox build --configuration ios.sim.release && detox test --configuration ios.sim.release",
"fetchGraphQLSchema": "ts-node -P tsconfig.script.json scripts/fetchGraphQLInfo.ts",
"findUnusedExports": "./node_modules/.bin/ts-unused-exports ./tsconfig.json",
"postinstall": "patch-package && babel-node ./fix-metro-android-release-bug.js",
"logcat": "adb logcat -e com.hippware",
"deeplink:android": "adb shell am start -W -a android.intent.action.VIEW -d \"tinyrobotStaging://conversation/2575d406-18ec-11e8-8e4b-0a580a020223/\"",
"deeplink:ios": "xcrun simctl openurl booted \"tinyrobotStaging://conversation/2575d406-18ec-11e8-8e4b-0a580a020223/\""
},
"dependencies": {
"@absinthe/socket-apollo-link": "^0.2.0",
"@react-native-community/async-storage": "^1.8.1",
"@react-native-community/blur": "^3.4.1",
"@react-native-community/netinfo": "^5.6.2",
"@react-native-community/push-notification-ios": "^1.0.7",
"apollo-cache-inmemory": "^1.6.5",
"apollo-client": "^2.6.8",
"apollo-link": "^1.2.3",
"assert": "^2.0.0",
"base-64": "^0.1.0",
"bugsnag-react-native": "^2.23.6",
"graphql": "^14.6.0",
"graphql-tag": "^2.10.3",
"libphonenumber-js": "^1.7.47",
"lodash": "^4.17.13",
"mobx": "^5.15.4",
"mobx-react": "^6.1.7",
"mobx-state-tree": "^3.15.0",
"moment": "^2.24.0",
"mst-middlewares": "3.10.2",
"patch-package": "^6.2.1",
"phoenix": "^1.4.16",
"postinstall-postinstall": "^2.0.0",
"prop-types": "^15.7.2",
"react": "16.9.0",
"react-native": "0.61.5",
"react-native-action-sheet": "^2.2.0",
"react-native-actionsheet": "^2.2.2",
"react-native-animated-linear-gradient": "^1.2.0",
"react-native-background-fetch": "^3.0.3",
"react-native-background-geolocation-android": "git+https://42af07bf147313e5c1053b3e23ebbc4da0075767:@github.com/transistorsoft/react-native-background-geolocation-android#3.6.0",
"react-native-code-push": "^6.1.1",
"react-native-config": "^0.12.0",
"react-native-contacts": "^5.1.0",
"react-native-country-picker-modal": "^1.10.0",
"react-native-device-info": "5.5.3",
"react-native-emoji-selector": "^0.1.8",
"react-native-extra-dimensions-android": "^1.2.5",
"react-native-fbsdk": "^1.1.2",
"react-native-firebase": "^5.6.0",
"react-native-fs": "^2.14.1",
"react-native-geolocation": "^1.0.0",
"react-native-geolocation-service": "^4.0.0",
"react-native-gesture-handler": "^1.6.0",
"react-native-hooks": "^0.9.0",
"react-native-image-crop-picker": "^0.28.0",
"react-native-keyboard-aware-scroll-view": "^0.9.1",
"react-native-linear-gradient": "^2.5.6",
"react-native-localize": "^1.3.4",
"react-native-maps": "^0.27.0",
"react-native-mixpanel": "^1.1.14",
"react-native-permissions": "^2.0.10",
"react-native-pure-jwt": "^2.1.1",
"react-native-push-notification": "^3.1.9",
"react-native-reanimated": "^1.7.0",
"react-native-router-flux": "4.2.0-beta.2",
"react-native-screens": "^2.3.0",
"react-native-splash-screen": "^3.2.0",
"react-native-swiper": "^1.6.0-rc.3",
"react-navigation-stack": "^1.10.3",
"tcomb-form-native": "^0.6.20",
"validate.js": "github:hippware/validate.js#969b4fb274b0bb5234b8fe4199cc07dc1acb536e"
},
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-flow-strip-types": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@babel/runtime": "^7.8.7",
"@jest/reporters": "^25.1.0",
"@storybook/react-native": "^5.3.13",
"@types/detox": "^12.8.2",
"@types/jest": "^25.1.4",
"@types/lodash": "^4.14.149",
"@types/phoenix": "^0.0.5",
"@types/react": "^16.9.23",
"@types/react-native": "^0.61.5",
"@types/react-test-renderer": "^16.9.2",
"appcenter-cli": "^2.3.4",
"babel-jest": "^25.1.0",
"bugsnag-sourcemaps": "^1.2.2",
"husky": "^4.2.3",
"jest": "^25.1.0",
"jetifier": "^1.6.5",
"jsrsasign": "^8.0.12",
"metro-react-native-babel-preset": "^0.58.0",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"react-dom": "^16.13.0",
"react-test-renderer": "16.13.0",
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.6.0",
"tslib": "^1.11.1",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.15.0",
"tslint-react": "^4.2.0",
"typescript": "^3.8",
"websocket": "^1.0.31"
},
"detox": {
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/tinyrobotStaging.app",
"build": "xcodebuild -UseModernBuildSystem=NO -workspace ios/tinyrobot.xcworkspace -scheme tinyrobotStaging -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 8 Plus"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/tinyrobotStaging.app",
"build": "xcodebuild -UseModernBuildSystem=NO -workspace ios/tinyrobot.xcworkspace -scheme tinyrobotStaging -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 8 Plus"
}
},
"test-runner": "jest",
"runner-config": "e2e/config.json"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --pattern \"**/*.*(js|jsx|ts|tsx)\""
}
}
}