185 lines
6.1 KiB
JSON
185 lines
6.1 KiB
JSON
{
|
|
"name": "bsky.app",
|
|
"version": "1.2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"ios": "react-native run-ios --simulator=\"iPhone 14\"",
|
|
"web": "webpack-dev-server --config ./web/webpack.config.js -d inline-source-map --hot --color --history-api-fallback",
|
|
"start": "react-native start",
|
|
"clean-cache": "rm -rf node_modules/.cache/babel-loader/*",
|
|
"test": "jest --forceExit --testTimeout=20000 --bail",
|
|
"test-watch": "jest --watchAll",
|
|
"test-ci": "jest --ci --forceExit --reporters=default --reporters=jest-junit",
|
|
"test-coverage": "jest --coverage",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
"e2e": "detox test --configuration ios.sim.debug --take-screenshots all"
|
|
},
|
|
"dependencies": {
|
|
"@atproto/api": "^0.1.2",
|
|
"@atproto/lexicon": "^0.0.4",
|
|
"@atproto/xrpc": "^0.0.4",
|
|
"@bam.tech/react-native-image-resizer": "^3.0.4",
|
|
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
|
"@fortawesome/free-regular-svg-icons": "^6.1.1",
|
|
"@fortawesome/free-solid-svg-icons": "^6.1.1",
|
|
"@fortawesome/react-native-fontawesome": "^0.3.0",
|
|
"@gorhom/bottom-sheet": "^4",
|
|
"@mattermost/react-native-paste-input": "^0.6.0",
|
|
"@miblanchard/react-native-slider": "^2.2.0",
|
|
"@notifee/react-native": "^7.4.0",
|
|
"@react-native-async-storage/async-storage": "^1.17.6",
|
|
"@react-native-camera-roll/camera-roll": "^5.2.2",
|
|
"@react-native-clipboard/clipboard": "^1.10.0",
|
|
"@react-native-community/blur": "^4.3.0",
|
|
"@segment/analytics-react-native": "^2.10.1",
|
|
"@segment/sovran-react-native": "^0.4.5",
|
|
"@zxing/text-encoding": "^0.9.0",
|
|
"await-lock": "^2.2.2",
|
|
"base64-js": "^1.5.1",
|
|
"email-validator": "^2.0.4",
|
|
"he": "^1.2.0",
|
|
"history": "^5.3.0",
|
|
"lodash.chunk": "^4.2.0",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"lodash.isequal": "^4.5.0",
|
|
"lodash.omit": "^4.5.0",
|
|
"lodash.shuffle": "^4.2.0",
|
|
"lru_map": "^0.4.1",
|
|
"mobx": "^6.6.1",
|
|
"mobx-react-lite": "^3.4.0",
|
|
"normalize-url": "^8.0.0",
|
|
"react": "18.2.0",
|
|
"react-avatar-editor": "^13.0.0",
|
|
"react-circular-progressbar": "^2.1.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-native": "0.71.1",
|
|
"react-native-appstate-hook": "^1.0.6",
|
|
"react-native-background-fetch": "^4.1.8",
|
|
"react-native-fast-image": "^8.6.3",
|
|
"react-native-fs": "^2.20.0",
|
|
"react-native-gesture-handler": "^2.5.0",
|
|
"react-native-haptic-feedback": "^1.14.0",
|
|
"react-native-image-crop-picker": "^0.38.1",
|
|
"react-native-inappbrowser-reborn": "^3.6.3",
|
|
"react-native-linear-gradient": "^2.6.2",
|
|
"react-native-pager-view": "^6.0.2",
|
|
"react-native-permissions": "^3.6.1",
|
|
"react-native-progress": "^5.0.0",
|
|
"react-native-reanimated": "^2.9.1",
|
|
"react-native-root-siblings": "^4.1.1",
|
|
"react-native-root-toast": "^3.4.0",
|
|
"react-native-safe-area-context": "^4.4.1",
|
|
"react-native-screens": "^3.13.1",
|
|
"react-native-splash-screen": "^3.3.0",
|
|
"react-native-svg": "^12.4.0",
|
|
"react-native-tab-view": "^3.3.0",
|
|
"react-native-url-polyfill": "^1.3.0",
|
|
"react-native-uuid": "^2.0.1",
|
|
"react-native-version-number": "^0.3.6",
|
|
"react-native-web": "^0.18.11",
|
|
"react-native-web-linear-gradient": "^1.1.2",
|
|
"react-native-web-webview": "^1.0.2",
|
|
"react-native-webview": "^11.26.1",
|
|
"react-native-youtube-iframe": "^2.2.2",
|
|
"rn-fetch-blob": "^0.12.0",
|
|
"tlds": "^1.234.0",
|
|
"zod": "^3.20.2"
|
|
},
|
|
"devDependencies": {
|
|
"@atproto/pds": "^0.0.3",
|
|
"@babel/core": "^7.20.0",
|
|
"@babel/preset-env": "^7.20.0",
|
|
"@babel/runtime": "^7.20.0",
|
|
"@react-native-community/eslint-config": "^3.0.0",
|
|
"@testing-library/jest-native": "^5.3.3",
|
|
"@testing-library/react-native": "^11.5.0",
|
|
"@tsconfig/react-native": "^2.0.3",
|
|
"@types/he": "^1.1.2",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/lodash.chunk": "^4.2.7",
|
|
"@types/lodash.clonedeep": "^4.5.7",
|
|
"@types/lodash.isequal": "^4.5.6",
|
|
"@types/lodash.omit": "^4.5.7",
|
|
"@types/lodash.shuffle": "^4.2.7",
|
|
"@types/react-avatar-editor": "^13.0.0",
|
|
"@types/react-native": "^0.67.3",
|
|
"@types/react-test-renderer": "^17.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
"@typescript-eslint/parser": "^5.48.2",
|
|
"babel-jest": "^29.2.1",
|
|
"babel-loader": "^9.1.2",
|
|
"babel-plugin-module-resolver": "^5.0.0",
|
|
"babel-plugin-react-native-web": "^0.18.12",
|
|
"detox": "^20.1.2",
|
|
"eslint": "^8.19.0",
|
|
"eslint-plugin-detox": "^1.0.0",
|
|
"eslint-plugin-ft-flow": "^2.0.3",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"jest": "^29.2.1",
|
|
"jest-junit": "^15.0.0",
|
|
"metro-react-native-babel-preset": "^0.73.7",
|
|
"prettier": "^2.8.3",
|
|
"react-native-dotenv": "^3.3.1",
|
|
"react-scripts": "^5.0.1",
|
|
"react-test-renderer": "18.2.0",
|
|
"typescript": "^4.4.4",
|
|
"url-loader": "^4.1.1",
|
|
"webpack": "^5.75.0",
|
|
"webpack-cli": "^5.0.1",
|
|
"webpack-dev-server": "^4.11.1"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^17"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"setupFiles": [
|
|
"./jest/jestSetup.js",
|
|
"./node_modules/react-native-gesture-handler/jestSetup.js"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"@testing-library/jest-native/extend-expect"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
],
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element|@react-native-community|rollbar-react-native|@fortawesome|@react-native|@react-navigation|normalize-url)"
|
|
],
|
|
"modulePathIgnorePatterns": [
|
|
"__tests__/.*/__mocks__",
|
|
"e2e/.*"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"<rootDir>/node_modules/",
|
|
"<rootDir>/src/platform",
|
|
"<rootDir>/src/third-party",
|
|
"<rootDir>/src/view/com/util",
|
|
"<rootDir>/src/state/lib",
|
|
"<rootDir>/__tests__/test-utils.js"
|
|
],
|
|
"reporters": [
|
|
"default",
|
|
"jest-junit"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|