UNPKG

learn-template

Version:
202 lines (180 loc) 7.85 kB
<p align="center"> <h1 align="center"> <code>learn-template</code> </h1> </p> <p align="center"> <img src="image/a.png" alt="Alt text" width="250" height="250"> </p> ![Supports Android, iOS, macOS, Windows and Web](https://img.shields.io/badge/platforms-android%20|%20ios%20|%20macos%20|%20windows%20|%20web-lightgrey.svg) ![MIT License](https://img.shields.io/npm/l/@react-native-community/netinfo.svg) [![Lean Core Extracted](https://img.shields.io/badge/Lean%20Core-Extracted-brightgreen.svg)](https://github.com/facebook/react-native/issues/23313) learn-template is a template that helps developers quickly create projects with built-in modules that support TypeScript * Fast * Installing the library is no longer difficult ## Quick start start npm package: ```sh npx react-native init MyApp --template learn-template.git ``` ## Module * **Types:** * [`@react-navigation`](#@react-navigation) * [`@reduxjs/toolkit`](#@reduxjs/toolkit) * [`@react-native-firebase`](#@react-native-firebase) * [`react-native-code-push`](#react-native-code-push) * [`react-native-ui-lib`](#react-native-ui-lib) * [`@sayem314/react-native-keep-awake`](#) * [`react-native-charts-wrapper`](#) * [`react-native-camera`](#) * [`react-native-calendars`](#) * [`react-native-fast-image`](#) #### `Script` | script | description | ----------- | --------------------------------- | `react-native run-ios`| `run ios`| | `react-native run-android`|`run android`| | `npx react-native run-android --variant=devDebug`| `run android variant dev`| | `adb reverse tcp:8081 tcp:8081`| `config emulator`| | `react-native start --reset-cache`| `start clean cache`| | `npx react-native start --port 3000`| `run port != 8081`| | `watchman watch-del-all`| `clean watchman`| | `cd android && ./gradlew clean ` | `clean android` | | `export NODE_OPTIONS=--openssl-legacy-provider` | `nodejs`| | `cd ios && pod install ` | | `sudo xcode-select --reset  ` | | `npx jetify ` | | `export JAVA_HOME='/usr/libexec/java_home -v a.b.c '` | #### `Library` | package name | version | ----------- | --------------------------------- | `@mindinventory/react-native-stagger-view` | `^1.2.1` | | `@react-native-async-storage/async-storage`| `^1.16.1` | | `@react-native-clipboard/clipboard`| `^1.8.5` | | `@react-native-community/hooks`| `^2.8.1` | | `@react-native-community/masked-view`| `^0.1.11` | | `@react-native-community/netinfo`| `^8.1.0` | | `@react-native-community/slider`| `^4.2.2` | | `@react-native-firebase/app`| `^14.5.0` | | `@react-native-firebase/auth`| `^14.5.0` | | `@react-native-firebase/crashlytics`| `^14.5.0` | | `@react-native-firebase/firestore`| `^14.5.0` | | `@react-native-firebase/messaging`| `^14.5.0` | | `@react-native-firebase/storage`| `^14.5.0` | | `@react-native-google-signin/google-signin`| `^11.0.0` | | `@react-navigation/bottom-tabs`| `^6.2.0` | | `@react-navigation/drawer`| `^6.6.2` | | `@react-navigation/native`| `^6.1.6` | | `@react-navigation/stack`| `^6.0.11` | | `@reduxjs/toolkit`| `^1.8.1` | | `@sayem314/react-native-keep-awake`| `^1.1.0` | | `@types/react-native`| `0.67.2` |` | `@types/react-native-table-component`| `^1.2.3` | | `@wxik/core`| `^0.5.5` | | `axios`| `^0.27.2` | | `babel-plugin-module-resolver`| `^4.1.0` | | `babel-plugin-wildcard`| `^7.0.0` | | `crawler`| `^1.5.0` | | `curved-bottom-navigation-bar`| `^2.0.5` | | `fs` | `0.0.1-security`| | `html-entities`| `^2.3.3` | | `immutability-helper`| `^3.1.1` | | `immutable`| `^4.2.4` | | `lodash`| `^4.17.21` | | `memoize-one`| `^6.0.0` | | `moment`| `^2.29.1` | | `moment-range`| `^4.0.2` | | `pretty-format`| `^29.1.2` | | `react`| `17.0.2`| | `react-native`| `0.67.2`| | `react-native-animatable`| `^1.3.3` | | `react-native-awesome-alerts`| `^2.0.0` | | `react-native-base64`| `^0.2.1` | | `react-native-calendars`| `^1.1280.0` | | `react-native-camera`| `^4.2.1` | | `react-native-canvas`| `^0.1.38` | | `react-native-charts-wrapper`| `^0.5.11` | | `react-native-code-push`| `^7.0.4` | | `react-native-config`| `^1.4.6` | | `react-native-confirmation-code-field`| `^7.3.0` | | `react-native-curved-bottom-bar`| `^3.2.6` | | `react-native-customize-selected-date`| `^1.0.1` | | `react-native-date-picker`| `^4.2.0` | | `react-native-device-info`| `^8.7.1` | | `react-native-document-picker`| `^8.1.3` | | `react-native-dropdownalert`| `^4.5.1` | | `react-native-element-dropdown`| `^1.8.7` | | `react-native-elements`| `^3.4.2` | | `react-native-emoji-selector`| `^0.2.0` | | `react-native-event-listeners`| `^1.0.7` | | `react-native-exception-handler`| `^2.10.10` | | `react-native-fast-image`| `^8.5.11` | | `react-native-file-picker`| `^0.0.21` | | `react-native-file-viewer`| `^2.1.5` | | `react-native-fs`| `^2.20.0` | | `react-native-gesture-handler`| `^1.10.3` | | `react-native-get-values`| `^1.1.1` | | `react-native-gifted-chat`| `^2.4.0` | | `react-native-hyperlink`| `^0.0.19` | | `react-native-idfa`| `^4.1.0` | | `react-native-image-marker`| `^0.6.3` | | `react-native-image-picker`| `^4.8.3` | | `react-native-image-viewing`| `^0.2.2` | | `react-native-image-zoom-viewer`| `^3.0.1` | | `react-native-indicators`| `^0.17.0` | | `react-native-input-scroll-view`| `^1.11.0` | | `react-native-keyboard-accessory`| `^0.1.16` | | `react-native-lightbox`| `^0.8.1` | | `react-native-lightbox-v2`| `^0.9.0` | | `react-native-linear-gradient`| `^2.5.6` | | `react-native-loading-spinner-overlay`| `^3.0.1` | | `react-native-masked-text`| `^1.13.0` | | `react-native-material-menu`| `^2.0.0` | | `react-native-material-ripple`| `^0.9.1` | | `react-native-modal`| `^13.0.1` | | `react-native-modal-selector`| `^2.1.1` | | `react-native-pager-view`| `^5.4.15` | | `react-native-paper`| `^4.12.0` | | `react-native-paper-dates`| `^0.8.7` | | `react-native-pell-rich-editor`| `^1.8.8` | | `react-native-permissions`| `^3.3.1` | | `react-native-popable`| `^0.4.3` | | `react-native-progress`| `^5.0.0` | | `react-native-ratings`| `^8.1.0` | | `react-native-raw-bottom-sheet`| `^2.2.0` | | `react-native-reanimated`| `^2.14.4` | | `react-native-render-html`| `^6.3.4` | | `react-native-safe-area-context`| `^3.3.0` | | `react-native-safe-area-view`| `^1.1.1` | | `react-native-screens`| `^3.9.0` | | `react-native-share`| `^7.3.7` | | `react-native-shared-element`| `^0.8.9` | | `react-native-sheet`| `^0.1.6` | | `react-native-sortable-list`| `^0.0.25` | | `react-native-sound`| `^0.11.2` | | `react-native-splash-screen`| `^3.3.0` | | `react-native-step-indicator`| `^1.0.3` | | `react-native-svg`| `^12.1.1` | | `react-native-svg-icon`| `^0.10.0` | | `react-native-svg-transformer`| `^1.0.0` | | `react-native-svg-uri`| `^1.2.3` | | `react-native-swipe-gestures`| `^1.0.5` | | `react-native-swiper`| `^1.6.0` | | `react-native-table-component`| `^1.2.2` | | `react-native-text-ticker`| `^1.14.0` | | `react-native-timeline-flatlist`| `^0.8.0` | | `react-native-toast-message`| `^2.1.1` | | `react-native-ui-lib`| `^7.16.0` | | `react-native-vector-icons`| `^9.1.0` | | `react-native-video`| `^5.2.0` | | `react-native-walkthrough-tooltip`| `^1.5.0` | | `react-native-webview`| `^11.18.2` | | `react-native-youtube`| `^2.0.2` | | `react-native-youtube-iframe`| `^2.2.2` | | `react-navigation-shared-element`| `^3.1.3` | | `react-redux`| `^7.2.8` | | `reactotron-react-native`| `^5.0.3` | | `reanimated-bottom-sheet`| `^0.0-alpha.22`| | `redux-persist`| `^6.0.0` | | `redux-saga`| `^1.1.3` | | `rn-fetch-blob`| `^0.12.0` | | `underscore`| `^1.13.4` | | `util`| `^0.12.5` | | `validate-color`| `^2.2.4` | | `victory-native`| `^36.3.1` |