-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
209 lines (209 loc) · 8.79 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
208
209
{
"name": "sportyspots",
"description": "SportySpots React Native App",
"repository": "[email protected]:SportySpots/cruijff.git",
"author": "Ashutosh Bandiwdekar <[email protected]>",
"license": "MIT",
"version": "1.4.11",
"private": true,
"engines": {
"node": ">=8.10.0",
"npm": ">=5.6.0",
"yarn": ">=1.0.0"
},
"scripts": {
"android:build": "cd android && ./gradlew bundleRelease",
"android:clean": "cd android/ && ./gradlew clean && cd .. && react-native run-android",
"android:devices": "$ANDROID_HOME/platform-tools/adb devices",
"android:install": "cd android && ./gradlew bundleRelease && ./gradlew installDebug",
"android:logcat": "$ANDROID_HOME/platform-tools/adb logcat *:S ReactNative:V ReactNativeJS:V",
"android:logcatDeviceLogs": "$ANDROID_HOME/platform-tools/adb logcat --pid=`adb shell pidof -s com.sportyspots.android`",
"android:reset": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf android/app/build && rm -rf node_modules/ && yarn cache clean && yarn install",
"android:run:local": "react-native run-android",
"android:run:release": "react-native run-android --variant=release",
"android:shake": "$ANDROID_HOME/platform-tools/adb devices | grep '\\t' | awk '{print $1}' | sed 's/\\s//g' | xargs -I {} $ANDROID_HOME/platform-tools/adb -s {} shell input keyevent 82",
"appcenter:login": "appcenter login",
"appcenter:releaseStgAndroid": "appcenter codepush release-react --deployment-name stg --app sportyspots-apps/sportyspots-android",
"appcenter:releaseStgIos": "appcenter codepush release-react --deployment-name stg --app sportyspots-apps/sportyspots-ios --plist-file ./ios/SportySpots/Info.plist",
"appcenter:releaseStg": "yarn appcenter:releaseStgAndroid && yarn appcenter:releaseStgIos",
"appcenter:releasePrdAndroid": "appcenter codepush release-react --deployment-name prd --app sportyspots-apps/sportyspots-android",
"appcenter:releasePrdIos": "appcenter codepush release-react --deployment-name prd --app sportyspots-apps/sportyspots-ios --plist-file ./ios/SportySpots/Info.plist",
"appcenter:releasePrd": "yarn appcenter:releasePrdAndroid && yarn appcenter:releasePrdIos",
"appcenter:listDeploymentAndroid": "appcenter codepush deployment list -a sportyspots-apps/sportyspots-android",
"appcenter:listDeploymentIos": "appcenter codepush deployment list -a sportyspots-apps/sportyspots-ios",
"appium:android": "appium.sh",
"bump-version:major": "yarn version --major && react-native-version",
"bump-version:minor": "yarn version --minor && react-native-version",
"bump-version:patch": "yarn version --patch && react-native-version",
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && yarn cache clean",
"fixcode": "lint --fix",
"git-hook": "yarn run lint -s && yarn run test -s",
"graphql:updateSchema": "get-graphql-schema https://api.sportyspots.com/graphql > schema.graphql",
"graphql:updateSchemaJSON": "get-graphql-schema https://api.sportyspots.com/graphql > schema.graphql.json --json",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx",
"lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs tslint",
"precommit": "lint-staged",
"prestorybook": "rnstl",
"reset": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build && rm -rf node_modules/ && yarn cache clean && yarn install",
"start": "node node_modules/react-native/local-cli/cli.js start",
"storybook": "yarn prestorybook && storybook start -p 7007 | yarn start --projectRoot storybook --watchFolders $PWD",
"test:coverage": "TZ=\"UTC\" jest --coverage && open coverage/lcov-report/index.html || xdg-open coverage/lcov-report/index.html",
"test:updateSnapshot": "TZ=\"UTC\" jest --updateSnapshot",
"test:watch": "TZ=\"UTC\" jest --watch",
"test": "TZ=\"UTC\" jest",
"typecheck": "tsc --project .",
"xcode:additional": "cd node_modules/react-native/scripts && ./ios-install-third-party.sh && cd ../../../ && cd node_modules/react-native/scripts/third-party/glog-0.3.5/ && ../../../scripts/ios-configure-glog.sh && cd ../../../../../"
},
"dependencies": {
"@apollo/react-hooks": "^3.0.1",
"@pusher/chatkit-client": "^1.4.1",
"@react-native-community/async-storage": "^1.4.0",
"@react-native-community/netinfo": "^2.0.10",
"@react-native-community/slider": "^1.1.1",
"@sentry/react-native": "^1.2.2",
"@types/recompose": "^0.30.7",
"apisauce": "^1.0.0",
"apollo-cache-inmemory": "1.6.3",
"apollo-client": "2.6.4",
"apollo-link": "1.2.12",
"apollo-link-context": "^1.0.18",
"apollo-link-error": "1.1.11",
"apollo-link-http": "1.5.15",
"appcenter": "2.2.0",
"appcenter-analytics": "2.2.0",
"appcenter-crashes": "2.2.0",
"buffer": "^5.2.1",
"error-handling-utils": "^1.1.0",
"events": "^3.0.0",
"format-json": "^1.0.3",
"geolib": "^2.0.24",
"graphql": "14.3.0",
"graphql-anywhere": "4.2.1",
"graphql-tag": "2.10.1",
"i18n-js": "^3.2.1",
"identity-obj-proxy": "^3.0.0",
"lodash": "^4.17.11",
"mobx": "^5.15.0",
"mobx-react": "^6.1.4",
"moment": "^2.22.2",
"moment-timezone": "^0.5.21",
"prop-types": "15.7.2",
"querystringify": "2.1.1",
"ramda": "^0.26.1",
"react": "16.8.3",
"react-apollo": "2.5.5",
"react-native": "0.59.10",
"react-native-calendars": "^1.21.0",
"react-native-code-push": "5.6.0",
"react-native-config": "^0.11.5",
"react-native-cookies": "^3.3.0",
"react-native-firebase": "^5.1.1",
"react-native-geolocation-service": "^2.0.1",
"react-native-gesture-handler": "^1.2.1",
"react-native-gifted-chat": "^0.9.0",
"react-native-google-static-map": "^0.1.13",
"react-native-image-picker": "^0.28.1",
"react-native-keyboard-aware-scroll-view": "^0.8.0",
"react-native-localize": "^1.0.1",
"react-native-map-link": "2.1.1",
"react-native-material-dropdown": "^0.11.1",
"react-native-material-textfield": "^0.12.0",
"react-native-modal-datetime-picker": "^7.4.0",
"react-native-popup-menu": "0.15.6",
"react-native-svg": "^9.4.0",
"react-native-vector-icons": "^6.0.2",
"react-native-webview": "5.8.2",
"react-navigation": "^3.9.1",
"recompose": "^0.30.0",
"seamless-immutable": "^7.1.4",
"stacktrace-js": "^2.0.0",
"styled-components": "^4.2.0",
"tinycolor2": "^1.4.1",
"validator": "^10.8.0",
"whatwg-fetch": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-decorators": "^7.7.0",
"@storybook/addon-actions": "^5.0.11",
"@storybook/addon-links": "^5.0.11",
"@storybook/addon-storyshots": "^5.0.11",
"@storybook/addons": "^5.0.11",
"@storybook/channels": "^5.0.11",
"@storybook/react-native": "5.2.0-alpha.3",
"@types/graphql": "^14.2.1",
"@types/leaflet": "^1.5.1",
"@types/react": "^16.8.20",
"@types/react-native": "^0.57.63",
"@typescript-eslint/eslint-plugin": "^2.6.0",
"@typescript-eslint/parser": "^2.6.0",
"apollo-link-schema": "^1.1.1",
"appcenter-cli": "2.1.1",
"babel-jest": "^24.8.0",
"babel-plugin-module-resolver": "^3.2.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.1",
"eslint": "^6.6.0",
"eslint-plugin-react": "^7.16.0",
"faker": "^4.1.0",
"get-graphql-schema": "^2.1.1",
"graphql-tools": "^4.0.2",
"husky": "^2.2.0",
"jest": "24.8.0",
"jest-snapshot": "^24.8.0",
"lint-staged": "^8.1.6",
"mocha": "^6.1.4",
"mockdate": "^2.0.2",
"mockery": "^2.1.0",
"node-fetch": "^2.3.0",
"react-dom": "16.8.6",
"react-native-cli": "2.0.1",
"react-native-storybook-loader": "^1.8.0",
"react-native-typescript-transformer": "^1.2.12",
"react-native-version": "^3.1.0",
"react-test-renderer": "16.8.6",
"typescript": "^3.5.2"
},
"jest": {
"testMatch": [
"<rootDir>/Tests/**/*.js",
"**/?(*.)(spec|test).js?(x)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/Tests/Setup.js",
"<rootDir>/Tests/Mocks/*"
],
"transformIgnorePatterns": [
"node_modules/(?!react-native|react-navigation)/"
],
"moduleNameMapper": {
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "identity-obj-proxy",
"styled-components": "<rootDir>/node_modules/styled-components/native/dist/styled-components.native.cjs.js"
},
"setupFiles": [
"<rootDir>/Tests/Setup"
],
"preset": "react-native"
},
"config": {
"react-native-storybook-loader": {
"searchDir": [
"./App"
],
"pattern": "**/[Ss]tories.js",
"outputFile": "./storybook/storyLoader.js"
}
},
"lint-staged": {
"#App/**/*.{js,json,css,md}": [
"tslint",
"git add"
]
},
"rnpm": {
"assets": [
"./assets/fonts"
]
}
}