Files
iNaturalistReactNative/package.json
2024-03-29 17:52:37 +01:00

225 lines
8.9 KiB
JSON

{
"name": "inaturalistreactnative",
"version": "0.28.0",
"private": true,
"scripts": {
"android": "react-native run-android",
"android:release": "react-native run-android --mode=release",
"ios": "react-native run-ios",
"ios:release": "npx react-native run-ios --device --mode Release",
"start": "react-native start",
"clean-start": "npx react-native clean-project-auto && npx pod-install && npm start -- --reset-cache",
"test": "jest",
"lint": "npm run lint:eslint && npm run lint:flow",
"lint:eslint": "eslint . --fix --quiet",
"lint:flow": "flow check",
"postinstall": "husky install && patch-package && react-native setup-ios-permissions",
"translate": "node src/i18n/i18ncli.js build",
"e2e:android": "npm run e2e:build:android && npm run e2e:test:android",
"e2e:build:android": "MOCK_MODE=e2e npx detox build --configuration android.release",
"e2e:build:ios": "MOCK_MODE=e2e npx detox build --configuration ios.release",
"e2e:build": "npm run e2e:build:ios && npm run e2e:build:android",
"e2e:ios": "npm run e2e:build:ios && npm run e2e:test:ios",
"e2e:test:android": "MOCK_MODE=e2e npx detox test --configuration android.release",
"e2e:test:ios": "MOCK_MODE=e2e npx detox test --configuration ios.release",
"e2e:ios:test": "npm run e2e:test:ios",
"e2e:ios:build": "npm run e2e:build:ios",
"e2e:android:test": "npm run e2e:test:android",
"e2e:android:build": "npm run e2e:build:android",
"e2e:test": "npm run e2e:test:ios && npm run e2e:test:android",
"e2e": "npm run e2e:build && npm run e2e:test",
"icons": "./scripts/update-icon-font.sh",
"add-example-model": "node scripts/add-example-model.js",
"add-github-actions-test-model": "node scripts/add-github-actions-test-model.js",
"reassure": "reassure"
},
"dependencies": {
"@bam.tech/react-native-image-resizer": "^3.0.7",
"@formidable-webview/webshell": "^2.6.0",
"@gorhom/bottom-sheet": "^4.6.1",
"@react-native-async-storage/async-storage": "^1.23.1",
"@react-native-camera-roll/camera-roll": "^5.9.0",
"@react-native-clipboard/clipboard": "^1.11.2",
"@react-native-community/datetimepicker": "^7.6.2",
"@react-native-community/geolocation": "^3.2.1",
"@react-native-community/netinfo": "^9.4.1",
"@react-native-community/slider": "^4.5.0",
"@react-native-picker/picker": "^2.7.2",
"@react-navigation/bottom-tabs": "^6.5.20",
"@react-navigation/drawer": "^6.6.15",
"@react-navigation/elements": "^1.3.30",
"@react-navigation/native": "^6.1.17",
"@react-navigation/native-stack": "^6.9.26",
"@realm/react": "^0.6.2",
"@sayem314/react-native-keep-awake": "1.1.0",
"@shopify/flash-list": "^1.6.4",
"@tanstack/react-query": "^4.35.3",
"apisauce": "^3.0.1",
"axios": "^1.6.8",
"classnames": "^2.5.1",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.1",
"i18next": "^23.10.1",
"i18next-fluent": "^2.0.0",
"i18next-resources-to-backend": "^1.2.0",
"inaturalistjs": "github:inaturalist/inaturalistjs",
"intl-pluralrules": "^2.0.1",
"linkify-html": "^4.1.3",
"linkifyjs": "^4.1.3",
"lodash": "^4.17.21",
"markdown-it": "^13.0.1",
"nativewind": "^2.0.11",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "^14.1.0",
"react-native": "0.72.12",
"react-native-animated-dots-carousel": "^1.0.2",
"react-native-audio-recorder-player": "^3.6.7",
"react-native-bouncy-checkbox": "^3.0.7",
"react-native-circular-progress-indicator": "^4.4.2",
"react-native-config": "1.5.0",
"react-native-device-info": "^10.13.1",
"react-native-draggable-flatlist": "^4.0.1",
"react-native-email-link": "^1.15.0",
"react-native-event-listeners": "^1.0.7",
"react-native-exception-handler": "^2.10.10",
"react-native-exif-reader": "github:inaturalist/react-native-exif-reader",
"react-native-fast-image": "^8.6.3",
"react-native-fs": "^2.20.0",
"react-native-geocoder-reborn": "^0.9.0",
"react-native-gesture-handler": "^2.16.0",
"react-native-image-pan-zoom": "^2.1.12",
"react-native-image-picker": "github:inaturalist/react-native-image-picker",
"react-native-jwt-io": "^1.0.3",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-linear-gradient": "^2.8.3",
"react-native-localize": "^2.2.6",
"react-native-logs": "^5.1.0",
"react-native-mail": "github:chirag04/react-native-mail",
"react-native-maps": "^1.11.3",
"react-native-modal": "^13.0.1",
"react-native-modal-datetime-picker": "^17.1.0",
"react-native-network-logger": "^1.15.0",
"react-native-open-maps": "^0.4.3",
"react-native-orientation-locker": "github:wonday/react-native-orientation-locker",
"react-native-paper": "^5.12.3",
"react-native-permissions": "^3.10.0",
"react-native-picker-select": "8.0.4",
"react-native-reanimated": "^3.7.0",
"react-native-reanimated-carousel": "^3.4.0",
"react-native-render-html": "^6.3.4",
"react-native-safe-area-context": "^4.9.0",
"react-native-screens": "^3.30.1",
"react-native-sensitive-info": "^6.0.0-alpha.9",
"react-native-share-menu": "github:visoft/react-native-share-menu",
"react-native-store-review": "^0.4.3",
"react-native-svg": "^13.14.0",
"react-native-svg-transformer": "^1.3.0",
"react-native-url-polyfill": "^2.0.0",
"react-native-uuid": "^2.0.2",
"react-native-vector-icons": "^10.0.3",
"react-native-vision-camera": "3.9.1",
"react-native-webview": "11.23.1",
"react-native-worklets-core": "0.4.0",
"realm": "^12.6.2",
"reassure": "^0.11.0",
"sanitize-html": "^2.13.0",
"use-debounce": "^9.0.4",
"vision-camera-plugin-inatvision": "github:inaturalist/vision-camera-plugin-inatvision#version-3",
"zustand": "^4.5.2"
},
"devDependencies": {
"@babel/core": "^7.24.3",
"@babel/eslint-parser": "^7.24.1",
"@babel/preset-react": "^7.24.1",
"@babel/runtime": "^7.24.1",
"@faker-js/faker": "^8.3.1",
"@fluent/syntax": "^0.19.0",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.12",
"@tanstack/eslint-plugin-query": "^4.34.1",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^12.3.0",
"@tsconfig/react-native": "^3.0.0",
"@types/react": "^18.0.24",
"@types/react-test-renderer": "^18.0.0",
"babel-plugin-module-resolver": "^5.0.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"babel-plugin-transform-remove-console": "^6.9.4",
"chalk": "^5.3.0",
"detox": "^20.19.4",
"dotenv": "^16.3.1",
"download": "^8.0.0",
"eslint": "^8.49.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-import-resolver-babel-module": "^5.3.2",
"eslint-plugin-i18next": "^6.0.3",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-module-resolver": "^1.5.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.1.0",
"eslint-plugin-react-native-a11y": "^3.3.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-testing-library": "^6.0.1",
"factoria": "^4.0.1",
"flow-bin": "^0.182.0",
"fluent_conv": "^3.2.0",
"glob": "^7.2.3",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-fetch-mock": "github:jefflau/jest-fetch-mock",
"metro-config": "0.73.9",
"metro-react-native-babel-preset": "^0.76.9",
"nock": "^13.3.3",
"patch-package": "^8.0.0",
"react-native-accessibility-engine": "^3.2.0",
"react-native-clean-project": "^4.0.3",
"react-native-config-node": "^0.0.3",
"react-test-renderer": "18.2.0",
"tailwindcss": "^3.3.2",
"typescript": "4.8.4",
"yargs": "^17.7.2"
},
"engines": {
"node": ">=16"
},
"jest": {
"automock": false,
"moduleNameMapper": {
"\\.svg": "<rootDir>/tests/mocks/svgMock.js"
},
"preset": "react-native",
"resetMocks": false,
"setupFiles": [
"./node_modules/react-native-gesture-handler/jestSetup.js",
"<rootDir>/tests/jest.setup.js"
],
"globalSetup": "<rootDir>/tests/jest.globalSetup.js",
"setupFilesAfterEnv": [
"react-native-accessibility-engine",
"<rootDir>/tests/jest.post-setup.js",
"<rootDir>/tests/realm.setup.js",
"<rootDir>/tests/initI18next.setup.js"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?@react-native|react-native|react-clone-referenced-element|@react-native-community|expo(nent)?|@expo(nent)?/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base||(?!react-native-redash))|jest-runner"
],
"verbose": true
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"reactNativePermissionsIOS": [
"Camera",
"LocationAccuracy",
"LocationWhenInUse",
"MediaLibrary",
"Microphone",
"PhotoLibrary"
]
}