-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
package.json
239 lines (239 loc) · 11.6 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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
{
"name": "manyverse",
"version": "0.2407.28-beta",
"private": true,
"main": "desktop/nodejs-project/loader.js",
"license": "MPL-2.0",
"scripts": {
"prepare": "husky install",
"postinstall": "patch-package",
"lib": "tsc",
"lib-watch": "tsc --watch",
"clean-bundler": "watchman watch-del-all && rm -rf $TMPDIR/react-*",
"clean-android": "cd android && ./gradlew clean",
"clean-ios": "cd ios && xcodebuild -workspace Manyverse.xcworkspace -scheme Manyverse clean && cd ..",
"clean-lib": "rm -rf lib",
"full-clean": "npm run clean-android && npm run clean-bundler && rm -rf node_modules && rm -rf lib",
"propagate-replacements": "propagate-replacement-fields --field=react-native",
"build-backend-desktop": "cross-env DONT_COMPILE=true node tools/build-backend.mjs --desktop",
"build-backend-android": "./tools/build-backend.mjs --android",
"build-backend-ios": "./tools/build-backend.mjs --ios",
"build-frontend-desktop": "npm run lib && webpack --mode production --config desktop/webpack.renderer.config.js",
"build-desktop": "npm run build-backend-desktop && npm run build-frontend-desktop",
"build-ios-assets": "npm run lib && npm run propagate-replacements && npm run build-backend-ios",
"build-android-assets": "npm run lib && npm run propagate-replacements && npm run build-backend-android",
"check-android-sig": "jarsigner -verify -verbose:summary -certs android/app/build/outputs/apk/indie/release/app-indie-release.apk | grep -q Uusimaa",
"install-android-indie": "adb install -r android/app/build/outputs/apk/indie/release/app-indie-release.apk",
"archive-apk": "cp android/app/build/outputs/apk/indie/release/app-indie-release.apk ../apk-archive/manyverse-$(cat package.json | jq -r .version).apk",
"desktop-frontend-watch": "webpack --watch --mode development --config desktop/webpack.renderer.config.js",
"desktop-dev": "npm run build-backend-desktop && concurrently \"npm:lib-watch\" \"npm:desktop-frontend-watch\"",
"android-dev": "npm run build-android-assets && npm run android-start",
"ios-dev": "npm run build-ios-assets && react-native run-ios --device",
"android-start": "react-native run-android --variant=indieDebug --appIdSuffix=debug",
"prebuild-android-release": "npm run clean-bundler && npm run clean-android",
"build-android-release": "npm run report-libraries && npm run update-top-backers && npm run build-android-assets && cd android && ./gradlew assembleIndieRelease --rerun-tasks && ./gradlew assembleGooglePlayRelease --rerun-tasks && cd ..",
"prearchive-ios-release": "npm run clean-bundler && npm run clean-ios",
"archive-ios-release": "npm run build-ios-assets && cd ios && xcodebuild -workspace Manyverse.xcworkspace -scheme Manyverse archive && cd ..",
"archive-ipa": "mkdir -p ../ipa-archive && cd ios && xcodebuild -workspace Manyverse.xcworkspace -scheme Manyverse -archivePath ../../ipa-archive/Manyverse.xcarchive archive && xcodebuild -exportArchive -archivePath ../../ipa-archive/Manyverse.xcarchive -exportPath ../../ipa-archive -exportOptionsPlist ipaExport.plist && cd ..",
"prebuild-desktop-release-linux": "cd desktop && cross-env DEBUG=electron-builder electron-builder install-app-deps --platform=linux",
"build-desktop-release-linux": "electron-builder build --config desktop/electron-builder.config.js --linux --publish $EB_PUBLISH",
"prebuild-desktop-release-win": "cd desktop && cross-env DEBUG=electron-builder electron-builder install-app-deps --platform=win32",
"build-desktop-release-win": "electron-builder build --config desktop/electron-builder.config.js --win --publish %EB_PUBLISH%",
"prebuild-desktop-release-macos": "cd desktop && cross-env DEBUG=electron-builder electron-builder install-app-deps --platform=darwin",
"build-desktop-release-macos": "electron-builder build --config desktop/electron-builder.config.js --macos --publish $EB_PUBLISH",
"clean-desktop-prebuilds": "rimraf ./desktop/node_modules/**/{bufferutil,sodium-native,leveldown,utf-8-validate}/{build,prebuilds}",
"desktop": "cd desktop && cross-env MANYVERSE_DEVELOPMENT=1 npm run electron",
"desktop-debug": "cd desktop && cross-env MANYVERSE_DEVELOPMENT=1 npm run debug-electron",
"start": "npm run lib && npm run propagate-replacements && react-native start",
"psdr": "./tools/print-service-desk-report.js",
"report-libraries": "./tools/report-libraries.mjs",
"update-top-backers": "./tools/update-top-backers.mjs && pretty-quick --pattern \"**/backers.ts\"",
"test-e2e-android": "./tools/test-e2e-android",
"test-smoke-android": "./tools/test-smoke-android",
"test-e2e-desktop": "./tools/test-e2e-desktop",
"apply-prettier": "pretty-quick --staged --pattern \"**/*.*(ts|tsx|js|jsx)\"",
"validate-license-year": "./tools/validate-license-year.sh",
"precommit-hook": "npm run apply-prettier && npm run validate-license-year",
"changelog": "./tools/update-repo-changelog.mjs",
"echo-ssb-post": "./tools/echo-ssb-post.mjs",
"echo-ios-changelog": "./tools/echo-ios-changelog.mjs",
"echo-android-changelog": "./tools/echo-android-changelog.mjs",
"echo-emoji-changelog": "./tools/echo-emoji-changelog.mjs",
"update-version": "./tools/update-version.js",
"update-version-ios": "./tools/update-version-ios.js",
"commit-release": "./tools/commit-release",
"upload-apk-gh": "cp android/app/build/outputs/apk/indie/release/app-indie-release.apk ./manyverse-$(jq -r .version package.json).apk && gh release upload v$(jq -r .version package.json) manyverse-$(jq -r .version package.json).apk && rm ./manyverse-$(jq -r .version package.json).apk",
"release-android": "npm run update-version && npm run build-android-release && npm run check-android-sig && npm run test-smoke-android && npm run archive-apk && npm run changelog && npm run commit-release",
"release-ios": "npm run update-version-ios && npm run archive-ios-release && git commit -am\"dx: update ios version\"",
"release-desktop-linux": "npm run build-desktop && npm run clean-desktop-prebuilds && npm run build-desktop-release-linux",
"release-desktop-macos": "npm run build-desktop && npm run clean-desktop-prebuilds && npm run build-desktop-release-macos",
"release-desktop-win": "npm run build-desktop && npm run clean-desktop-prebuilds && npm run build-desktop-release-win"
},
"engines": {
"node": "16.17.x",
"npm": "8.x"
},
"dependencies": {
"@cycle/http": "15.4.0",
"@cycle/isolate": "5.2.0",
"@cycle/react": "2.10.0",
"@cycle/react-dom": "2.4.0",
"@cycle/react-native": "3.0.0",
"@cycle/run": "5.7.0",
"@cycle/state": "1.6.0",
"@fontsource/roboto": "4.5.2",
"@material-ui/core": "4.12.3",
"@react-native-community/checkbox": "^0.5.14",
"@react-native-community/slider": "4.2.0",
"@sentry/electron": "4.1.2",
"@sentry/react-native": "4.5.0",
"@staltz/react-native-audio-toolkit": "2.0.3-1",
"@staltz/react-native-image-crop-picker": "0.37.5",
"@staltz/react-native-image-viewing": "0.2.1-2",
"blurhash": "1.1.x",
"buffer": "5.6.0",
"byte-size": "8.1.0",
"cycle-native-asyncstorage": "3.2.0",
"cycle-native-clipboard": "1.0.0",
"cycle-native-keyboard": "1.2.0",
"cycle-native-linking": "2.0.1",
"cycle-native-navigation": "8.2.2",
"cycle-native-navigation-web": "1.2.0",
"cycle-native-share": "1.1.0",
"cycle-native-toastandroid": "1.1.0",
"electron-context-menu": "3.1.2",
"electron-ssb-client": "2.0.0",
"fast-deep-equal": "3.1.3",
"fix-webm-duration": "1.0.4",
"hermes-engine": "0.9.0",
"i18n-js": "3.8.0",
"lodash.memoize": "4.1.2",
"mdast-normalize-react-native": "3.2.x",
"multicb": "1.2.2",
"nodejs-mobile-react-native": "16.17.6",
"nuka-carousel": "4.8.4",
"path": "0.12.7",
"promisify-tuple": "1.2.0",
"pull-flat-list": "2.20.0",
"pull-pushable": "2.2.0",
"pull-sorted-interleave": "1.0.1",
"pull-stream": "3.6.14",
"quick-lru": "4.0.1",
"react": "17.0.2",
"react-blurhash": "0.1.3",
"react-dom": "17.0.2",
"react-markdown": "4.0.2",
"react-native": "0.66.5",
"react-native-blurhash": "1.1.10",
"react-native-dialogs": "1.1.1",
"react-native-emoji-modal": "0.2.2",
"react-native-flag-secure-android": "1.0.2",
"react-native-floating-action": "1.22.0",
"react-native-fs": "2.18.0",
"react-native-gifted-chat": "0.16.3",
"react-native-has-internet": "5.0.0",
"react-native-localize": "2.1.9",
"react-native-navigation": "7.25.1",
"react-native-orientation-locker": "1.4.0",
"react-native-popup-menu": "0.15.12",
"react-native-progress": "5.0.0",
"react-native-splash-screen": "3.3.0",
"react-native-ssb-client": "7.1.0",
"react-native-ssb-shims": "5.1.5",
"react-native-status-bar-height": "2.6.0",
"react-native-svg": "12.1.1",
"react-native-swiper": "1.6.0",
"react-native-system-setting": "1.7.6",
"react-native-tiny-toast": "1.0.7",
"react-native-url-polyfill": "1.3.0",
"react-native-vector-icons": "9.0.0",
"react-native-web": "0.18.9",
"react-propify-methods": "16.3.3",
"react-xstream-hoc": "1.1.0",
"remark": "9.0.0",
"remark-gemoji-to-emoji": "1.1.0",
"remark-images-to-ssb-serve-blobs": "3.1.2-1",
"remark-linkify-regex": "1.2.1",
"remark-ssb-mentions": "2.5.0",
"ssb-conn-query": "1.2.2",
"ssb-deweird": "1.0.0",
"ssb-ref": "2.16.0",
"ssb-room-client": "0.2.0",
"ssb-serve-blobs": "3.2.0",
"ssb-threads": "10.8.0",
"ssb-typescript": "2.8.0",
"ssb-uri2": "1.9.0",
"strip-markdown-oneline": "1.0.3",
"unicode-word-regex": "1.1.0",
"xstream": "11.14",
"xstream-between": "1.0",
"xstream-drop-repeats-by-keys": "1.1",
"xstream-from-callback": "2.0",
"xstream-from-pull-stream": "1.3",
"xstream-sample": "1.0"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/runtime": "^7.16.3",
"@react-native-community/cli": "~6.4.0",
"@types/electron": "1.6.10",
"@types/node": "~12.20.10",
"@types/react": "^17.0.19",
"@types/react-native": "0.64.x",
"@types/react-native-vector-icons": "6.4.10",
"add-stream": "~1.0.0",
"babel-loader": "^8.2.3",
"babel-plugin-module-resolver": "~4.1.0",
"babel-plugin-react-native-web": "~0.17.5",
"concurrently": "^7.0.0",
"conventional-changelog": "~3.1.25",
"cross-env": "^7.0.3",
"css-loader": "5.2.7",
"electron-builder": "22.13.1",
"file-loader": "^6.2.0",
"fs-extra": "^10.0.0",
"graceful-fs": "~4.2.9",
"husky": "^7.0.0",
"into-stream": "~7.0.0",
"jase": "1.2.0",
"left-pad": "1.3.0",
"license-ls": "dotcs/license-ls#bugfix/npm-7+",
"lodash": ">=4.17.21",
"lodash.sortby": "~4.7.0",
"lodash.sorteduniqby": "^4.7.0",
"metro": "~0.66.2",
"metro-react-native-babel-preset": "~0.66.2",
"node-fetch": "~2.6.7",
"node-gyp-build": "4.3.0",
"ora": "^5.4.1",
"patch-package": "6.4.7",
"prettier": "~2.5.1",
"pretty-quick": "~3.1.3",
"propagate-replacement-fields": "1.3.0",
"react-native-version": "4.0.0",
"rimraf": "^3.0.2",
"style-loader": "2.0.0",
"tslint": "~6.1.3",
"typescript": "~4.5.5",
"webpack": "~4.46.0",
"webpack-cli": "~3.3.12"
},
"optionalDependencies": {
"@playwright/test": "1.28.1",
"appium": "1.22.3",
"electron-playwright-helpers": "1.2.2",
"playwright": "^1.28.1",
"playwright-core": "1.28.1",
"secret-stack": "6.4.1",
"ssb-caps": "1.1.0",
"ssb-db2": "8.1.0",
"ssb-keys": "8.5.0",
"ssb-keys-mnemonic": "1.0.1",
"tap-spec": "5.0.0",
"tape": "~5.5.2",
"wd": "1.14.0"
},
"react-native": {
"os": "react-native-os-staltz"
}
}