mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
at uiwork 288 lines 11 kB view raw
1{ 2 "name": "bsky.app", 3 "version": "1.57.0", 4 "private": true, 5 "scripts": { 6 "prepare": "is-ci || husky install", 7 "postinstall": "patch-package", 8 "prebuild": "expo prebuild --clean", 9 "android": "expo run:android", 10 "ios": "expo run:ios", 11 "web": "expo start --web", 12 "build-web": "expo export:web && node ./scripts/post-web-build.js && cp --verbose ./web-build/static/js/*.* ./bskyweb/static/js/", 13 "build-all": "yarn intl:build && eas build --platform all", 14 "start": "expo start --dev-client", 15 "start:prod": "expo start --dev-client --no-dev --minify", 16 "clean-cache": "rm -rf node_modules/.cache/babel-loader/*", 17 "test": "NODE_ENV=test jest --forceExit --testTimeout=20000 --bail", 18 "test-watch": "NODE_ENV=test jest --watchAll", 19 "test-ci": "NODE_ENV=test jest --ci --forceExit --reporters=default --reporters=jest-junit", 20 "test-coverage": "NODE_ENV=test jest --coverage", 21 "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx", 22 "typecheck": "tsc --project ./tsconfig.check.json", 23 "e2e:mock-server": "./jest/dev-infra/with-test-redis-and-db.sh ts-node __e2e__/mock-server.ts", 24 "e2e:metro": "RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios", 25 "e2e:build": "detox build -c ios.sim.debug", 26 "e2e:run": "detox test --configuration ios.sim.debug --take-screenshots all", 27 "perf:test": "NODE_ENV=test maestro test", 28 "perf:test:run": "NODE_ENV=test maestro test __e2e__/maestro/scroll.yaml", 29 "perf:test:measure": "NODE_ENV=test flashlight test --bundleId xyz.blueskyweb.app --testCommand 'yarn perf:test' --duration 150000 --resultsFilePath .perf/results.json", 30 "perf:test:results": "NODE_ENV=test flashlight report .perf/results.json", 31 "perf:measure": "NODE_ENV=test flashlight measure", 32 "intl:build": "yarn intl:check && yarn intl:compile", 33 "intl:check": "yarn intl:extract && git diff-index -G'(^[^\\*# /])|(^#\\w)|(^\\s+[^\\*#/])' HEAD || (echo '\n⚠️ i18n detected un-extracted translations\n' && exit 1)", 34 "intl:extract": "lingui extract", 35 "intl:compile": "lingui compile" 36 }, 37 "dependencies": { 38 "@atproto/api": "^0.6.23", 39 "@bam.tech/react-native-image-resizer": "^3.0.4", 40 "@braintree/sanitize-url": "^6.0.2", 41 "@emoji-mart/react": "^1.1.1", 42 "@expo/html-elements": "^0.4.2", 43 "@expo/webpack-config": "^19.0.0", 44 "@fortawesome/fontawesome-svg-core": "^6.1.1", 45 "@fortawesome/free-regular-svg-icons": "^6.1.1", 46 "@fortawesome/free-solid-svg-icons": "^6.1.1", 47 "@fortawesome/react-native-fontawesome": "^0.3.0", 48 "@gorhom/bottom-sheet": "^4.5.1", 49 "@lingui/react": "^4.5.0", 50 "@mattermost/react-native-paste-input": "^0.6.4", 51 "@miblanchard/react-native-slider": "^2.3.1", 52 "@react-native-async-storage/async-storage": "1.18.2", 53 "@react-native-camera-roll/camera-roll": "^5.2.2", 54 "@react-native-clipboard/clipboard": "^1.10.0", 55 "@react-native-community/blur": "^4.3.0", 56 "@react-native-community/datetimepicker": "7.2.0", 57 "@react-native-menu/menu": "^0.8.0", 58 "@react-native-picker/picker": "2.4.10", 59 "@react-navigation/bottom-tabs": "^6.5.7", 60 "@react-navigation/drawer": "^6.6.2", 61 "@react-navigation/native": "^6.1.6", 62 "@react-navigation/native-stack": "^6.9.12", 63 "@segment/analytics-next": "^1.51.3", 64 "@segment/analytics-react": "^1.0.0-rc1", 65 "@segment/analytics-react-native": "^2.10.1", 66 "@segment/sovran-react-native": "^0.4.5", 67 "@sentry/react-native": "5.10.0", 68 "@tanstack/react-query": "^5.8.1", 69 "@tiptap/core": "^2.0.0-beta.220", 70 "@tiptap/extension-document": "^2.0.0-beta.220", 71 "@tiptap/extension-hard-break": "^2.0.3", 72 "@tiptap/extension-history": "^2.0.3", 73 "@tiptap/extension-mention": "^2.0.0-beta.220", 74 "@tiptap/extension-paragraph": "^2.0.0-beta.220", 75 "@tiptap/extension-placeholder": "^2.0.0-beta.220", 76 "@tiptap/extension-text": "^2.0.0-beta.220", 77 "@tiptap/html": "^2.1.11", 78 "@tiptap/pm": "^2.0.0-beta.220", 79 "@tiptap/react": "^2.0.0-beta.220", 80 "@tiptap/suggestion": "^2.0.0-beta.220", 81 "@types/node": "^18.16.2", 82 "@zxing/text-encoding": "^0.9.0", 83 "array.prototype.findlast": "^1.2.3", 84 "await-lock": "^2.2.2", 85 "babel-plugin-transform-remove-console": "^6.9.4", 86 "base64-js": "^1.5.1", 87 "bcp-47-match": "^2.0.3", 88 "date-fns": "^2.30.0", 89 "email-validator": "^2.0.4", 90 "emoji-mart": "^5.5.2", 91 "eventemitter3": "^5.0.1", 92 "expo": "^49.0.8", 93 "expo-application": "~5.3.0", 94 "expo-build-properties": "~0.8.3", 95 "expo-camera": "13.5.1", 96 "expo-constants": "~14.4.2", 97 "expo-dev-client": "2.4.7", 98 "expo-device": "~5.4.0", 99 "expo-image": "~1.3.2", 100 "expo-image-manipulator": "~11.5.0", 101 "expo-image-picker": "~14.5.0", 102 "expo-localization": "~14.3.0", 103 "expo-media-library": "~15.4.1", 104 "expo-notifications": "~0.20.1", 105 "expo-sharing": "~11.5.0", 106 "expo-splash-screen": "~0.20.5", 107 "expo-status-bar": "~1.6.0", 108 "expo-system-ui": "~2.4.0", 109 "expo-updates": "~0.18.12", 110 "fast-text-encoding": "^1.0.6", 111 "history": "^5.3.0", 112 "js-sha256": "^0.9.0", 113 "lande": "^1.0.10", 114 "lodash.chunk": "^4.2.0", 115 "lodash.debounce": "^4.0.8", 116 "lodash.isequal": "^4.5.0", 117 "lodash.omit": "^4.5.0", 118 "lodash.once": "^4.1.1", 119 "lodash.random": "^3.2.0", 120 "lodash.samplesize": "^4.2.0", 121 "lodash.set": "^4.3.2", 122 "lodash.shuffle": "^4.2.0", 123 "lru_map": "^0.4.1", 124 "mobx": "^6.6.1", 125 "mobx-react-lite": "^3.4.0", 126 "mobx-utils": "^6.0.6", 127 "nanoid": "^5.0.2", 128 "normalize-url": "^8.0.0", 129 "patch-package": "^6.5.1", 130 "postinstall-postinstall": "^2.1.0", 131 "psl": "^1.9.0", 132 "react": "18.2.0", 133 "react-avatar-editor": "^13.0.0", 134 "react-circular-progressbar": "^2.1.0", 135 "react-dom": "^18.2.0", 136 "react-native": "0.72.5", 137 "react-native-appstate-hook": "^1.0.6", 138 "react-native-drawer-layout": "^3.2.0", 139 "react-native-fs": "^2.20.0", 140 "react-native-gesture-handler": "^2.12.1", 141 "react-native-get-random-values": "^1.8.0", 142 "react-native-haptic-feedback": "^1.14.0", 143 "react-native-image-crop-picker": "^0.38.1", 144 "react-native-inappbrowser-reborn": "^3.6.3", 145 "react-native-ios-context-menu": "^1.15.3", 146 "react-native-linear-gradient": "^2.6.2", 147 "react-native-pager-view": "6.1.4", 148 "react-native-picker-select": "^8.1.0", 149 "react-native-progress": "bluesky-social/react-native-progress", 150 "react-native-reanimated": "^3.6.0", 151 "react-native-root-siblings": "^4.1.1", 152 "react-native-safe-area-context": "4.6.3", 153 "react-native-screens": "~3.22.0", 154 "react-native-splash-screen": "^3.3.0", 155 "react-native-svg": "13.9.0", 156 "react-native-url-polyfill": "^1.3.0", 157 "react-native-uuid": "^2.0.1", 158 "react-native-version-number": "^0.3.6", 159 "react-native-web": "~0.19.6", 160 "react-native-web-linear-gradient": "^1.1.2", 161 "react-responsive": "^9.0.2", 162 "rn-fetch-blob": "^0.12.0", 163 "sentry-expo": "~7.0.1", 164 "tippy.js": "^6.3.7", 165 "tlds": "^1.234.0", 166 "use-deep-compare": "^1.1.0", 167 "zeego": "^1.6.2", 168 "zod": "^3.20.2" 169 }, 170 "devDependencies": { 171 "@atproto/dev-env": "^0.2.5", 172 "@babel/core": "^7.23.2", 173 "@babel/preset-env": "^7.20.0", 174 "@babel/runtime": "^7.20.0", 175 "@did-plc/server": "^0.0.1", 176 "@lingui/cli": "^4.5.0", 177 "@lingui/macro": "^4.5.0", 178 "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", 179 "@react-native-community/eslint-config": "^3.0.0", 180 "@testing-library/jest-native": "^5.4.1", 181 "@testing-library/react-native": "^11.5.2", 182 "@tsconfig/react-native": "^2.0.3", 183 "@types/he": "^1.1.2", 184 "@types/jest": "^29.4.0", 185 "@types/lodash.chunk": "^4.2.7", 186 "@types/lodash.debounce": "^4.0.7", 187 "@types/lodash.isequal": "^4.5.6", 188 "@types/lodash.omit": "^4.5.7", 189 "@types/lodash.once": "^4.1.7", 190 "@types/lodash.random": "^3.2.7", 191 "@types/lodash.samplesize": "^4.2.7", 192 "@types/lodash.set": "^4.3.7", 193 "@types/lodash.shuffle": "^4.2.7", 194 "@types/psl": "^1.1.1", 195 "@types/react-avatar-editor": "^13.0.0", 196 "@types/react-responsive": "^8.0.5", 197 "@types/react-test-renderer": "^17.0.1", 198 "@typescript-eslint/eslint-plugin": "^5.48.2", 199 "@typescript-eslint/parser": "^5.48.2", 200 "babel-jest": "^29.4.2", 201 "babel-loader": "^9.1.2", 202 "babel-plugin-macros": "^3.1.0", 203 "babel-plugin-module-resolver": "^5.0.0", 204 "babel-plugin-react-native-web": "^0.18.12", 205 "detox": "^20.13.0", 206 "eslint": "^8.19.0", 207 "eslint-plugin-detox": "^1.0.0", 208 "eslint-plugin-ft-flow": "^2.0.3", 209 "eslint-plugin-lingui": "^0.2.0", 210 "eslint-plugin-react": "^7.33.2", 211 "eslint-plugin-react-native-a11y": "^3.3.0", 212 "html-webpack-plugin": "^5.5.0", 213 "husky": "^8.0.3", 214 "is-ci": "^3.0.1", 215 "jest": "^29.4.3", 216 "jest-expo": "^49.0.0", 217 "jest-junit": "^15.0.0", 218 "lint-staged": "^13.2.3", 219 "metro-react-native-babel-preset": "^0.73.7", 220 "prettier": "^2.8.3", 221 "react-native-dotenv": "^3.3.1", 222 "react-refresh": "^0.14.0", 223 "react-scripts": "^5.0.1", 224 "react-test-renderer": "18.2.0", 225 "ts-node": "^10.9.1", 226 "typescript": "^5.1.3", 227 "url-loader": "^4.1.1", 228 "webpack": "^5.75.0", 229 "webpack-cli": "^5.0.1", 230 "webpack-dev-server": "^4.11.1" 231 }, 232 "resolutions": { 233 "@types/react": "^18", 234 "**/zeed-dom": "0.10.9" 235 }, 236 "jest": { 237 "preset": "jest-expo/ios", 238 "setupFilesAfterEnv": [ 239 "./jest/jestSetup.js", 240 "@testing-library/jest-native/extend-expect" 241 ], 242 "moduleFileExtensions": [ 243 "ts", 244 "tsx", 245 "js", 246 "jsx", 247 "json", 248 "node" 249 ], 250 "transform": { 251 "\\.[jt]sx?$": "babel-jest" 252 }, 253 "transformIgnorePatterns": [ 254 "node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|nanoid|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|normalize-url|react-native-svg|@sentry/.*|sentry-expo|bcp-47-match)" 255 ], 256 "modulePathIgnorePatterns": [ 257 "__tests__/.*/__mocks__", 258 "__e2e__/.*" 259 ], 260 "coveragePathIgnorePatterns": [ 261 "<rootDir>/node_modules/", 262 "<rootDir>/src/platform", 263 "<rootDir>/src/third-party", 264 "<rootDir>/src/view/com/util", 265 "<rootDir>/src/state/lib", 266 "<rootDir>/__tests__/test-utils.js" 267 ], 268 "reporters": [ 269 "default", 270 "jest-junit" 271 ] 272 }, 273 "browserslist": { 274 "production": [ 275 ">0.2%", 276 "not dead", 277 "not op_mini all" 278 ], 279 "development": [ 280 "last 1 chrome version", 281 "last 1 firefox version", 282 "last 1 safari version" 283 ] 284 }, 285 "lint-staged": { 286 "*{.js,.jsx,.ts,.tsx}": "yarn eslint --fix" 287 } 288}