forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
153 lines (148 loc) · 5.43 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
{
"name": "ZulipMobile",
"version": "1.0.0",
"private": true,
"scripts": {
"start": "react-native start",
"ios": "react-native run-ios",
"ios-min": "react-native run-ios --simulator 'iPhone 5s'",
"ios-mid": "react-native run-ios --simulator 'iPhone 8 Plus'",
"ios-max": "react-native run-ios --simulator 'iPhone XS Max'",
"ipad": "react-native run-ios --simulator 'iPad Air'",
"ios-device": "react-native run-ios --device",
"android": "react-native run-android",
"android-release": "react-native run-android --variant=release",
"build:android": "cd android && ./gradlew assembleRelease -Psigned -Psentry",
"build:android-nokeys": "cd android && ./gradlew assembleRelease",
"build:ios": "cd ios && xcodebuild -scheme ZulipMobile archivexcodebuild -scheme ZulipMobile archive",
"build:ios-release": "detox build --configuration ios.sim.release",
"test": "tools/test",
"test:full": "tools/test --full --coverage",
"test:lint": "tools/test lint",
"test:lint-full": "tools/test lint --full",
"test:flow": "tools/test flow",
"test:prettier": "tools/test prettier",
"test:prettier-full": "tools/test prettier --full",
"test:unit": "tools/test jest",
"test:coveralls": "tools/test jest --full --coverage",
"prettier": "tools/fmt",
"prettier-full": "tools/fmt --all",
"test:flow-coverage": "flow-coverage-report -i 'src/**/*.js' -x '**/__tests__/**' -t html",
"test:flow-todo": "eslint --no-eslintrc -c tools/flow-todo.eslintrc.yaml src/",
"test:e2e": "detox test --configuration ios.sim.release --cleanup",
"update-libdefs": "yarn install && rm -rf flow-typed/npm/ && flow-typed update",
"reinstall": "rm -rf node_modules && yarn cache clean && yarn install"
},
"dependencies": {
"@expo/react-native-action-sheet": "^1.1.0",
"@remobile/react-native-toast": "^1.0.7",
"base-64": "^0.1.0",
"blueimp-md5": "^2.10.0",
"color": "^3.0.0",
"date-fns": "^1.29.0",
"lodash.escape": "^4.0.1",
"lodash.isequal": "^4.4.0",
"lodash.omit": "^4.5.0",
"lodash.throttle": "^4.1.1",
"lodash.unescape": "^4.0.1",
"lodash.union": "^4.6.0",
"lodash.uniqby": "^4.4.0",
"react": "16.6.3",
"react-intl": "^2.4.0",
"react-native": "0.57.8",
"react-native-device-info": "^0.21.5",
"rn-fetch-blob": "^0.10.13",
"react-native-image-picker": "^0.26.10",
"react-native-notifications": "^1.2.0",
"react-native-orientation": "^3.1.3",
"react-native-photo-view": "alwx/react-native-photo-view#c58fd6b30",
"react-native-safari-view": "2.0.0",
"react-native-safe-area": "^0.4.1",
"react-native-sentry": "^0.37.0",
"react-native-simple-toast": "0.0.8",
"react-native-sound": "^0.10.9",
"react-native-text-input-reset": "^1.0.2",
"react-native-vector-icons": "^4.6.0",
"react-navigation": "^1.5.12",
"react-navigation-redux-helpers": "^1.1.1",
"react-redux": "^5.0.7",
"react-test-renderer": "16.6.3",
"redux": "^4.0.0",
"redux-action-buffer": "^1.2.0",
"redux-batched-actions": "^0.3.0",
"redux-logger": "^3.0.1",
"redux-persist": "^4.10.2",
"redux-thunk": "^2.1.0",
"reselect": "^3.0.1",
"string.fromcodepoint": "^0.2.1",
"timezone": "^1.0.13",
"url-parse": "^1.4.0",
"url-regex": "^4.1.1",
"zulip-markdown-parser": "^1.0.5"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-preset-react-native": "^4.0.0",
"metro-react-native-babel-preset": "0.49.1",
"coveralls": "^3.0.1",
"deep-freeze": "^0.0.1",
"detox": "^9.0.6",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.46.3",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jest": "^21.15.1",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-native": "^3.2.1",
"eslint-plugin-spellcheck": "0.0.11",
"flow-bin": "^0.78.0",
"flow-coverage-report": "^0.6.0",
"flow-typed": "^2.4.0",
"jest": "^23.6.0",
"jest-cli": "^22.4.4",
"prettier": "^1.12.1",
"prettier-eslint": "^8.8.1",
"prettier-eslint-cli": "^4.7.1",
"react-native-cli": "^2.0.1",
"redux-mock-store": "^1.5.1"
},
"resolutions": {
"react-deep-force-update": ">=1.1.1 <2"
},
"jest": {
"preset": "react-native",
"globals": { "__TEST__": true },
"setupTestFrameworkScriptFile": "./jest/jestSetup.js",
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
},
"transformIgnorePatterns": [
"node_modules/(?!react-native|@expo/react-native-action-sheet|react-navigation)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/__e2e__tests__"
],
"setupFiles": [
"./jest/globalFetch.js"
]
},
"detox": {
"configurations": {
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/ZulipMobile.app",
"build": "cd ios && xcodebuild -workspace ZulipMobile.xcworkspace -configuration Release -scheme ZulipMobile -derivedDataPath build -sdk iphonesimulator -quiet",
"type": "ios.simulator",
"name": "iPhone 6, iOS 10.3"
}
},
"specs": "__e2e__tests__"
}
}