Common Stuff between my React Native Applications

Downloads in past


100.2.54 years ago4 years agoMinified + gzip package size for @kausta/react-native-commons in KB


react-native-commons Build Status npm version Known Vulnerabilities NpmLicense
NPM Commons library for my React Native Projects

:arrowup: How to Setup

Step 1: git clone --recurse-submodules -j8 this repo:
Step 2: cd to the cloned repo:
Step 3: Install the Application with yarn

:arrowforward: How to Build

  1. cd to the repo
  2. Run yarn build

:noentrysign: Standard Compliant (as much as possible in TypeScript)

This project adheres to Standard in TypeScript through tslint-config-standard with custom prettier. Our CI enforces this, so we suggest you enable linting to keep your project compliant during development.
To Lint on Commit
This is implemented using husky. There is no additional setup needed.
Bypass Lint
If you have to bypass lint for a special commit that you will come back and clean (pushing something to a branch etc.) then you can bypass git hooks with adding --no-verify to your commit command.
Understanding Linting Errors
The linting rules are from JS Standard and React-Standard. Regular JS errors can be found with descriptions here, while React errors and descriptions can be found here.


Please read CODEOFCONDUCT.md for details on our code of conduct, and the process for submitting pull requests to us.


Copyright © 2018 Caner Korkmaz
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this repository except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 or at LICENSE file.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.