0.1.10 • Published 5 years ago

react-native-commons v0.1.10

Weekly downloads
96
License
-
Repository
-
Last release
5 years ago

React Native Commons

Important Configurations #gitlab-ci, flow, eslint, just & Metro Bundler (RN 0.57+) To apply in any project,

  1. you need to create a stub for flow-type for react-native-commons and all sub-module to prevent it show error of can't resolved when import its as a library
  • In folder flow-typed (of your project), create file names react-native-commons_vx.x.x.js
  • In react-native-commons_vx.x.x.js file, export the module (react-native-commons & the sub-modules you want to implement & import) like:

    `declare module 'react-native-commons' { declare module.exports: any; }

declare module 'react-native-commons/app/about-us' { declare module.exports: any; }

declare module 'react-native-commons/app/cross-promotion' { declare module.exports: any; }`

  1. Use yarn install instead npm install & delete the package-lock.json file (with yarn we don't need it anymore)
0.1.10

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago