142 lines
4.6 KiB
JSON
142 lines
4.6 KiB
JSON
{
|
|
"name": "bsky.app",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"ios": "react-native run-ios --simulator=\"iPhone 14\"",
|
|
"web": "react-scripts start",
|
|
"start": "react-native start",
|
|
"clean-cache": "rm -rf node_modules/.cache/babel-loader/*",
|
|
"test": "jest",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@atproto/api": "^0.0.6",
|
|
"@atproto/lexicon": "^0.0.4",
|
|
"@atproto/xrpc": "^0.0.3",
|
|
"@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",
|
|
"@react-native-async-storage/async-storage": "^1.17.6",
|
|
"@react-native-camera-roll/camera-roll": "^5.1.0",
|
|
"@react-native-clipboard/clipboard": "^1.10.0",
|
|
"@react-native-community/blur": "^4.3.0",
|
|
"@zxing/text-encoding": "^0.9.0",
|
|
"base64-js": "^1.5.1",
|
|
"email-validator": "^2.0.4",
|
|
"he": "^1.2.0",
|
|
"lodash.chunk": "^4.2.0",
|
|
"lodash.omit": "^4.5.0",
|
|
"lru_map": "^0.4.1",
|
|
"mobx": "^6.6.1",
|
|
"mobx-react-lite": "^3.4.0",
|
|
"react": "18.2.0",
|
|
"react-circular-progressbar": "^2.1.0",
|
|
"react-dom": "17.0.2",
|
|
"react-native": "0.71.0",
|
|
"react-native-appstate-hook": "^1.0.6",
|
|
"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-image-viewing": "^0.2.2",
|
|
"react-native-inappbrowser-reborn": "^3.6.3",
|
|
"react-native-linear-gradient": "^2.6.2",
|
|
"react-native-pager-view": "^6.0.2",
|
|
"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-version-number": "^0.3.6",
|
|
"react-native-web": "^0.17.7",
|
|
"rn-fetch-blob": "^0.12.0",
|
|
"tlds": "^1.234.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.9",
|
|
"@babel/preset-env": "^7.14.0",
|
|
"@babel/runtime": "^7.12.5",
|
|
"@react-native-community/eslint-config": "^3.0.0",
|
|
"@testing-library/jest-native": "^5.3.3",
|
|
"@testing-library/react-native": "^11.5.0",
|
|
"@types/he": "^1.1.2",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/lodash.chunk": "^4.2.7",
|
|
"@types/lodash.omit": "^4.5.7",
|
|
"@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-plugin-react-native-web": "^0.17.7",
|
|
"eslint": "^8.19.0",
|
|
"jest": "^29.2.1",
|
|
"jest-junit": "^15.0.0",
|
|
"metro-react-native-babel-preset": "0.73.5",
|
|
"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"
|
|
},
|
|
"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)"
|
|
],
|
|
"modulePathIgnorePatterns": ["__tests__\/.*\/__mocks__"],
|
|
"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"
|
|
]
|
|
}
|
|
}
|