mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-05-06 06:35:57 -04:00
Starts changing styles over to tailwind via nativewind. * Update node to 16.17.0 * Use styled() to ignore flow errors about className or tw props when styling components with nativewind * Upgrade realm to make test suite run; set failing test in Explore as todo * Add workaround for getting pods to run with XCode 14 * Fix for loading remote obs with infinite scroll * Add styling section to README * Use IconButton from rn-paper to make buttons more responsive to press * Add caret next to camera roll album picker * Fixed broken addition of gallery photos to existing observation * Removed flatlist from scrollview on ProjectDetails (apparently not allowed?) * Moved border style from Image to container in PhotoCarousel (border color not allowed for images?) Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
143 lines
5.0 KiB
JSON
143 lines
5.0 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",
|
|
"@bam.tech/react-native-image-resizer": "3.0.0",
|
|
"@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.4.0",
|
|
"@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",
|
|
"nativewind": "^2.0.10",
|
|
"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-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": "^11.0.0-rc.0",
|
|
"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",
|
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-import-resolver-babel-module": "^5.3.1",
|
|
"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-module-resolver": "^1.5.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",
|
|
"tailwindcss": "^3.1.8",
|
|
"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",
|
|
"<rootDir>/tests/realm.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))"
|
|
],
|
|
"automock": false,
|
|
"resetMocks": false,
|
|
"verbose": true
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint"
|
|
}
|
|
}
|
|
}
|