1- <img alt =" React Native Library Boilerplate " src =" assets/logo.png " width =" 1050 " />
1+ <img alt =" React Native Typescript Library Boilerplate " src =" assets/logo.png " width =" 1050 " />
22
3- # WORK IN PROGRESS ! DO NOT USE THIS LIBRARY FOR NOW!
3+ [ ![ Battle Tested ✅ ] ( https://img.shields.io/badge/-Battle--Tested%20%E2%9C%85-03666e?style=for-the-badge )] ( https://github.com/WrathChaos/react-native-typescript-library-boilerplate )
44
5- [ ![ Battle Tested ✅ ] ( https://img.shields.io/badge/-Battle--Tested%20%E2%9C%85-03666e ?style=for-the-badge )] ( https://github.com/WrathChaos/react-native-library-boilerplate )
5+ [ ![ React Native Typescript Library Boilerplate ] ( https://img.shields.io/badge/-Extremely%20easy%20to%20create%20a%20React%20Native%20Component%20Library%20with%20both%20Stateful%20and%20Functional%20Component%20Examples-orange ?style=for-the-badge )] ( https://github.com/WrathChaos/react-native-typescript -library-boilerplate )
66
7- [ ![ React Native Library Boilerplate] ( https://img.shields.io/badge/-React%20Native%20Library%20Boilerplate-lightgrey?style=for-the-badge )] ( https://github.com/WrathChaos/react-native-library-boilerplate )
8-
9- [ ![ npm version] ( https://img.shields.io/npm/v/react-native-library-boilerplate.svg?style=for-the-badge )] ( https://www.npmjs.com/package/react-native-library-boilerplate )
10- [ ![ npm] ( https://img.shields.io/npm/dt/react-native-library-boilerplate.svg?style=for-the-badge )] ( https://www.npmjs.com/package/react-native-library-boilerplate )
7+ [ ![ npm version] ( https://img.shields.io/npm/v/react-native-typescript-library-boilerplate.svg?style=for-the-badge )] ( https://www.npmjs.com/package/react-native-typescript-library-boilerplate )
8+ [ ![ npm] ( https://img.shields.io/npm/dt/react-native-typescript-library-boilerplate.svg?style=for-the-badge )] ( https://www.npmjs.com/package/react-native-typescript-library-boilerplate )
119![ Platform - Android and iOS] ( https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg?style=for-the-badge )
1210[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge )] ( https://opensource.org/licenses/MIT )
1311[ ![ styled with prettier] ( https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=for-the-badge )] ( https://github.com/prettier/prettier )
1412
1513<p align =" center " >
16- <img alt="React Native Library Boilerplate"
17- src="assets/Screenshots/JSLibraryBoilerplate .png" />
14+ <img alt="React Native Typescript Library Boilerplate"
15+ src="assets/Screenshots/typescript .png" />
1816</p >
1917
20- ### Do not forget
18+ ## Library Usage
19+
20+ - ` npm i `
21+ - Delete example folder
22+ - Delete build folder
23+ - Make your own library into the ` lib ` folder
24+ - Change package.json
25+ - Change README for your own documentation
26+ - ` npm run build `
2127
22- ``` js
23- npm i - D @types/ react @types/ react- native
2428```
29+ > [email protected] build /Users/kuray/Coursion/MyLibraries/ReactNative/react-native-typescript-library-starter 30+ > cd lib && tsc && cp ../package.json ../build/dist/ && Echo Build completed!
31+
32+ Build completed!
33+ ```
34+
35+ - Test your build/dist into the new project
36+ - Finally, time to npm publish :)
37+
38+ ### Below part is for Documentation ! Remove above Library Usage
2539
2640# Installation
2741
2842Add the dependency:
2943
30- ``` ruby
31- npm i react- native- library- boilerplate
44+ ``` bash
45+ npm i react-native-typescript- library-boilerplate
3246```
3347
3448## Peer Dependencies
@@ -45,7 +59,7 @@ npm i react-native-library-boilerplate
4559## Import
4660
4761``` jsx
48- import MyComponent from " react-native-library-boilerplate" ;
62+ import MyComponent from " react-native-typescript- library-boilerplate" ;
4963```
5064
5165## Fundamental Usage
7892
7993## License
8094
81- React Native Library Boilerplate is available under the MIT license. See the LICENSE file for more info.
95+ React Native Typescript Library Boilerplate is available under the MIT license. See the LICENSE file for more info.
0 commit comments