Files
iNaturalistReactNative/package.json
Amanda Bullington af8f17190d Keep toolbar sticky & collapse header on ObsList scroll (#182)
* Change bottom sheet modal to bottom sheet
* Give flatlist container a minHeight to make bottom sheet snap correctly when flatlist has few items
* Make entire header sticky above FlatList
* Hide header on scroll while keeping toolbar sticky on scroll
* Allow flatlist to scroll while bottom sheet modal up
* Use animated event on scroll with interpolation and stickyheaderindices to keep toolbar sticky while animating header
* Add accessibility label to logged out card

Closes #175
2022-09-27 16:20:13 -07:00

137 lines
4.8 KiB
JSON

{
"name": "inaturalistreactnative",
"version": "0.1.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "npm run lint:eslint && npm run lint:flow",
"lint:eslint": "eslint . --fix",
"lint:flow": "flow check",
"postinstall": "husky install",
"translate": "node src/i18n/i18ncli.js build"
},
"dependencies": {
"@babel/eslint-parser": "^7.18.2",
"@babel/preset-react": "^7.18.6",
"@gorhom/bottom-sheet": "^4.4.4",
"@react-native-async-storage/async-storage": "^1.17.7",
"@react-native-community/cameraroll": "^4.1.2",
"@react-native-community/checkbox": "^0.5.12",
"@react-native-community/datetimepicker": "^6.1.0",
"@react-native-community/netinfo": "^8.2.0",
"@react-native-picker/picker": "^2.4.1",
"@react-navigation/drawer": "^6.3.1",
"@react-navigation/elements": "^1.3.1",
"@react-navigation/native": "^6.0.8",
"@react-navigation/native-stack": "^6.5.2",
"@realm/react": "^0.2.1",
"@tanstack/react-query": "^4.2.1",
"apisauce": "^2.1.2",
"axios": "^0.25.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"date-fns": "^2.28.0",
"date-fns-tz": "^1.3.3",
"fbjs": "^3.0.4",
"i18next": "^21.6.14",
"i18next-fluent": "^2.0.0",
"i18next-resources-to-backend": "^1.0.0",
"inaturalistjs": "github:inaturalist/inaturalistjs",
"intl-pluralrules": "^1.3.1",
"lodash": "^4.17.21",
"radio-buttons-react-native": "^1.0.4",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-i18next": "^11.16.1",
"react-native": "^0.68.2",
"react-native-audio-recorder-player": "^3.5.1",
"react-native-config": "^1.4.5",
"react-native-device-info": "^8.5.1",
"react-native-dropdown-picker": "^5.3.0",
"react-native-fs": "^2.19.0",
"react-native-geocoder-reborn": "^0.9.0",
"react-native-geolocation-service": "^5.3.0-beta.4",
"react-native-gesture-handler": "^2.4.1",
"react-native-image-pan-zoom": "^2.1.12",
"react-native-image-picker": "^4.7.3",
"react-native-image-resizer": "^1.4.5",
"react-native-jwt-io": "^1.0.3",
"react-native-localize": "^2.2.1",
"react-native-maps": "^0.31.1",
"react-native-modal": "^13.0.1",
"react-native-modal-datetime-picker": "^13.1.0",
"react-native-network-logger": "^1.12.0",
"react-native-paper": "^5.0.0-rc.2",
"react-native-permissions": "^3.3.1",
"react-native-picker-select": "^8.0.4",
"react-native-reanimated": "^2.10.0",
"react-native-render-html": "^6.3.4",
"react-native-safe-area-context": "^4.2.2",
"react-native-screens": "^3.8.0",
"react-native-sensitive-info": "^6.0.0-alpha.9",
"react-native-svg": "^12.3.0",
"react-native-uuid": "^2.0.1",
"react-native-vector-icons": "^9.1.0",
"react-native-vision-camera": "^2.13.0",
"react-spring": "^8.0.27",
"react-tinder-card": "^1.4.5",
"realm": "^10.20.0-beta.1",
"use-debounce": "^7.0.1"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/react-native": "^9.0.0",
"babel-jest": "^26.6.3",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-flowtype": "^7.0.0",
"eslint-plugin-i18next": "^6.0.0-2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.3",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"factoria": "^3.2.2",
"faker": "^5.5.3",
"flow-bin": "^0.162.0",
"fluent_conv": "^3.1.0",
"glob": "^7.2.0",
"husky": "^7.0.4",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.66.2",
"nock": "^13.2.2",
"react-native-accessibility-engine": "^1.0.0",
"react-native-clean-project": "^4.0.1",
"react-native-codegen": "^0.0.7",
"react-test-renderer": "17.0.2",
"yargs": "^17.3.1"
},
"jest": {
"preset": "react-native",
"setupFiles": [
"<rootDir>/tests/jest.setup.js"
],
"setupFilesAfterEnv": [
"<rootDir>/node_modules/react-native-accessibility-engine/src/extend-expect.ts"
],
"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))"
],
"automock": false,
"resetMocks": false,
"verbose": true
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
}
}