From 54b39da5ff3d6045d1885da4b89fa224e7467807 Mon Sep 17 00:00:00 2001 From: ajaykumar97 <38132295+ajaykumar97@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:00:54 +0530 Subject: [PATCH] Deploy website - based on 0929225bc31a185d39f212dd0768b1e83489b6a0 --- 404.html | 4 ++-- assets/js/d167c9fe.92495b59.js | 1 - assets/js/d167c9fe.a41f6225.js | 1 + .../{runtime~main.030a8fa2.js => runtime~main.b89949da.js} | 2 +- docs/getting-started/index.html | 4 ++-- docs/key-features/index.html | 6 +++--- docs/project-structure/index.html | 4 ++-- docs/scripts/index.html | 4 ++-- index.html | 4 ++-- markdown-page/index.html | 4 ++-- 10 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 assets/js/d167c9fe.92495b59.js create mode 100644 assets/js/d167c9fe.a41f6225.js rename assets/js/{runtime~main.030a8fa2.js => runtime~main.b89949da.js} (95%) diff --git a/404.html b/404.html index ebdf118..e829f7b 100644 --- a/404.html +++ b/404.html @@ -5,13 +5,13 @@ Page Not Found | React Native Template - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- + \ No newline at end of file diff --git a/assets/js/d167c9fe.92495b59.js b/assets/js/d167c9fe.92495b59.js deleted file mode 100644 index 4246bec..0000000 --- a/assets/js/d167c9fe.92495b59.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[173],{1904:(e,t,a)=>{a.r(t),a.d(t,{contentTitle:()=>s,default:()=>p,frontMatter:()=>n,metadata:()=>o,toc:()=>l});var r=a(7462),i=(a(7294),a(3905));const n={title:"Key Features",sidebar_position:2},s="Key Features",o={unversionedId:"key-features",id:"key-features",isDocsHomePage:!1,title:"Key Features",description:"- Pre-configured folder structure",source:"@site/docs/key-features.md",sourceDirName:".",slug:"/key-features",permalink:"/react-native-template/docs/key-features",editUrl:"https://github.com/ajaykumar97/react-native-template/edit/master/website/docs/key-features.md",version:"current",sidebarPosition:2,frontMatter:{title:"Key Features",sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Getting Started",permalink:"/react-native-template/docs/getting-started"},next:{title:"Project Structure",permalink:"/react-native-template/docs/project-structure"}},l=[],u={toc:l};function p(e){let{components:t,...a}=e;return(0,i.kt)("wrapper",(0,r.Z)({},u,a,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"key-features"},"Key Features"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Pre-configured folder structure"),(0,i.kt)("li",{parentName:"ul"},"Common authentication screens(Login, Signup, Forgot Password) and flow"),(0,i.kt)("li",{parentName:"ul"},"Reusable common components, utility functions and constants"),(0,i.kt)("li",{parentName:"ul"},"Navigation using ",(0,i.kt)("a",{parentName:"li",href:"https://reactnavigation.org/"},"react-navigation")," (v6)"),(0,i.kt)("li",{parentName:"ul"},"State management using ",(0,i.kt)("a",{parentName:"li",href:"https://redux-toolkit.js.org/"},"redux-toolkit")),(0,i.kt)("li",{parentName:"ul"},"Git hooks using ",(0,i.kt)("a",{parentName:"li",href:"https://typicode.github.io/husky/#/"},"husky")),(0,i.kt)("li",{parentName:"ul"},"Development, Testing, Staging and Production environment configurations using ",(0,i.kt)("a",{parentName:"li",href:"https://github.com/luggit/react-native-config#readme"},"react-native-config"),(0,i.kt)("ul",{parentName:"li"},(0,i.kt)("li",{parentName:"ul"},"Bundle Ids"),(0,i.kt)("li",{parentName:"ul"},"Splash screens"),(0,i.kt)("li",{parentName:"ul"},"App icons"),(0,i.kt)("li",{parentName:"ul"},"Environment variables"),(0,i.kt)("li",{parentName:"ul"},"Application names"))),(0,i.kt)("li",{parentName:"ul"},"TDD(Test-Driven Development) using ",(0,i.kt)("a",{parentName:"li",href:"https://jestjs.io/"},"jest")),(0,i.kt)("li",{parentName:"ul"},"(Unsecured) local data storage using ",(0,i.kt)("a",{parentName:"li",href:"https://github.com/react-native-async-storage/async-storage#readme"},"AsyncStorage")),(0,i.kt)("li",{parentName:"ul"},"(Secured) local data storage using ",(0,i.kt)("a",{parentName:"li",href:"https://github.com/oblador/react-native-keychain#readme"},"react-native-keychain")),(0,i.kt)("li",{parentName:"ul"},"Splash screen using ",(0,i.kt)("a",{parentName:"li",href:"https://docs.expo.dev/versions/latest/sdk/splash-screen/"},"expo-splash-screen")),(0,i.kt)("li",{parentName:"ul"},"API requests using ",(0,i.kt)("a",{parentName:"li",href:"https://axios-http.com/"},"axios")),(0,i.kt)("li",{parentName:"ul"},"Localization using ",(0,i.kt)("a",{parentName:"li",href:"https://www.i18next.com/"},"i18next")),(0,i.kt)("li",{parentName:"ul"},"Responsive UI using flexbox and ",(0,i.kt)("a",{parentName:"li",href:"https://github.com/nirsky/react-native-size-matters#readme"},"react-native-size-matters")),(0,i.kt)("li",{parentName:"ul"},"SVG files support using ",(0,i.kt)("a",{parentName:"li",href:"https://github.com/software-mansion/react-native-svg#readme"},"react-native-svg")," and ",(0,i.kt)("a",{parentName:"li",href:"https://github.com/kristerkari/react-native-svg-transformer#readme"},"react-native-svg-transformer")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"https://github.com/ajaykumar97/react-native-simple-logger"},"Logger")," to log data more clearly using coloured logs in Chrome Debugger")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d167c9fe.a41f6225.js b/assets/js/d167c9fe.a41f6225.js new file mode 100644 index 0000000..a7b58b3 --- /dev/null +++ b/assets/js/d167c9fe.a41f6225.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[173],{1904:(e,t,a)=>{a.r(t),a.d(t,{contentTitle:()=>s,default:()=>m,frontMatter:()=>i,metadata:()=>o,toc:()=>l});var r=a(7462),n=(a(7294),a(3905));const i={title:"Key Features",sidebar_position:2},s="Key Features",o={unversionedId:"key-features",id:"key-features",isDocsHomePage:!1,title:"Key Features",description:"- Pre-configured folder structure",source:"@site/docs/key-features.md",sourceDirName:".",slug:"/key-features",permalink:"/react-native-template/docs/key-features",editUrl:"https://github.com/ajaykumar97/react-native-template/edit/master/website/docs/key-features.md",version:"current",sidebarPosition:2,frontMatter:{title:"Key Features",sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Getting Started",permalink:"/react-native-template/docs/getting-started"},next:{title:"Project Structure",permalink:"/react-native-template/docs/project-structure"}},l=[],u={toc:l};function m(e){let{components:t,...a}=e;return(0,n.kt)("wrapper",(0,r.Z)({},u,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"key-features"},"Key Features"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"Pre-configured folder structure"),(0,n.kt)("li",{parentName:"ul"},"Common authentication screens(Login, Signup, Forgot Password) and flow"),(0,n.kt)("li",{parentName:"ul"},"Reusable common components, utility functions and constants"),(0,n.kt)("li",{parentName:"ul"},"Navigation using ",(0,n.kt)("a",{parentName:"li",href:"https://reactnavigation.org/"},"react-navigation")," (v6)"),(0,n.kt)("li",{parentName:"ul"},"State management using ",(0,n.kt)("a",{parentName:"li",href:"https://redux-toolkit.js.org/"},"redux-toolkit")),(0,n.kt)("li",{parentName:"ul"},"Git hooks using ",(0,n.kt)("a",{parentName:"li",href:"https://typicode.github.io/husky/#/"},"husky")),(0,n.kt)("li",{parentName:"ul"},"Development, Testing, Staging and Production environment configurations using ",(0,n.kt)("a",{parentName:"li",href:"https://github.com/luggit/react-native-config#readme"},"react-native-config"),(0,n.kt)("ul",{parentName:"li"},(0,n.kt)("li",{parentName:"ul"},"Bundle Ids"),(0,n.kt)("li",{parentName:"ul"},"Splash screens"),(0,n.kt)("li",{parentName:"ul"},"App icons"),(0,n.kt)("li",{parentName:"ul"},"Environment variables"),(0,n.kt)("li",{parentName:"ul"},"Application names"))),(0,n.kt)("li",{parentName:"ul"},"TDD(Test-Driven Development) using ",(0,n.kt)("a",{parentName:"li",href:"https://jestjs.io/"},"jest")),(0,n.kt)("li",{parentName:"ul"},"(Unsecured) local data storage using ",(0,n.kt)("a",{parentName:"li",href:"https://github.com/react-native-async-storage/async-storage#readme"},"AsyncStorage")),(0,n.kt)("li",{parentName:"ul"},"(Secured) local data storage using ",(0,n.kt)("a",{parentName:"li",href:"https://github.com/oblador/react-native-keychain#readme"},"react-native-keychain")),(0,n.kt)("li",{parentName:"ul"},"Splash screen using ",(0,n.kt)("a",{parentName:"li",href:"https://docs.expo.dev/versions/latest/sdk/splash-screen/"},"expo-splash-screen")),(0,n.kt)("li",{parentName:"ul"},"API requests using ",(0,n.kt)("a",{parentName:"li",href:"https://axios-http.com/"},"axios")),(0,n.kt)("li",{parentName:"ul"},"Localization using ",(0,n.kt)("a",{parentName:"li",href:"https://www.i18next.com/"},"i18next")),(0,n.kt)("li",{parentName:"ul"},"Responsive UI using flexbox and ",(0,n.kt)("a",{parentName:"li",href:"https://github.com/nirsky/react-native-size-matters#readme"},"react-native-size-matters")),(0,n.kt)("li",{parentName:"ul"},"SVG files support using ",(0,n.kt)("a",{parentName:"li",href:"https://github.com/software-mansion/react-native-svg#readme"},"react-native-svg")," and ",(0,n.kt)("a",{parentName:"li",href:"https://github.com/kristerkari/react-native-svg-transformer#readme"},"react-native-svg-transformer")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"https://github.com/ajaykumar97/react-native-simple-logger"},"Logger")," to log data more clearly using coloured logs in Chrome Debugger"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"https://github.com/react-native-netinfo/react-native-netinfo"},"Net Info")," to listen for network conditions updates."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"https://github.com/react-hook-form/react-hook-form"},"React Hook Form")," and ",(0,n.kt)("a",{parentName:"li",href:"https://www.npmjs.com/package/yup"},"Yup")," for form state management and validation.")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.030a8fa2.js b/assets/js/runtime~main.b89949da.js similarity index 95% rename from assets/js/runtime~main.030a8fa2.js rename to assets/js/runtime~main.b89949da.js index df3770e..87f8213 100644 --- a/assets/js/runtime~main.030a8fa2.js +++ b/assets/js/runtime~main.b89949da.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,r,o,n,a={},c={};function i(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={id:e,loaded:!1,exports:{}};return a[e].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=a,i.c=c,e=[],i.O=(t,r,o,n)=>{if(!r){var a=1/0;for(s=0;s=n)&&Object.keys(i.O).every((e=>i.O[e](r[f])))?r.splice(f--,1):(c=!1,n0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[r,o,n]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var n=Object.create(null);i.r(n);var a={};t=t||[null,r({}),r([]),r(r)];for(var c=2&o&&e;"object"==typeof c&&!~t.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,i.d(n,a),n},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>"assets/js/"+({53:"935f2afb",85:"1f391b9e",162:"d589d3a7",173:"d167c9fe",195:"c4f5d8e4",414:"393be207",514:"1be78505",516:"a5f93cd8",592:"common",599:"e833177e",918:"17896441"}[e]||e)+"."+{53:"d1edc687",85:"55e6ef7a",162:"7832c8c9",173:"92495b59",195:"e8097e42",414:"90c32b60",514:"d591cc98",516:"911fcd82",592:"ce3b74b1",599:"64c2ed9a",608:"7a1dfb64",918:"62b9449c",933:"74580eb2"}[e]+".js",i.miniCssF=e=>"assets/css/styles.670ddddb.css",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},n="docs:",i.l=(e,t,r,a)=>{if(o[e])o[e].push(t);else{var c,f;if(void 0!==r)for(var d=document.getElementsByTagName("script"),s=0;s{c.onerror=c.onload=null,clearTimeout(p);var n=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach((e=>e(r))),t)return t(r)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),f&&document.head.appendChild(c)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/react-native-template/",i.gca=function(e){return e={17896441:"918","935f2afb":"53","1f391b9e":"85",d589d3a7:"162",d167c9fe:"173",c4f5d8e4:"195","393be207":"414","1be78505":"514",a5f93cd8:"516",common:"592",e833177e:"599"}[e]||e,i.p+i.u(e)},(()=>{var e={303:0,532:0};i.f.j=(t,r)=>{var o=i.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var n=new Promise(((r,n)=>o=e[t]=[r,n]));r.push(o[2]=n);var a=i.p+i.u(t),c=new Error;i.l(a,(r=>{if(i.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+n+": "+a+")",c.name="ChunkLoadError",c.type=n,c.request=a,o[1](c)}}),"chunk-"+t,t)}},i.O.j=t=>0===e[t];var t=(t,r)=>{var o,n,a=r[0],c=r[1],f=r[2],d=0;if(a.some((t=>0!==e[t]))){for(o in c)i.o(c,o)&&(i.m[o]=c[o]);if(f)var s=f(i)}for(t&&t(r);d{"use strict";var e,t,r,o,n,a={},c={};function i(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={id:e,loaded:!1,exports:{}};return a[e].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=a,i.c=c,e=[],i.O=(t,r,o,n)=>{if(!r){var a=1/0;for(s=0;s=n)&&Object.keys(i.O).every((e=>i.O[e](r[f])))?r.splice(f--,1):(c=!1,n0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[r,o,n]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var n=Object.create(null);i.r(n);var a={};t=t||[null,r({}),r([]),r(r)];for(var c=2&o&&e;"object"==typeof c&&!~t.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,i.d(n,a),n},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>"assets/js/"+({53:"935f2afb",85:"1f391b9e",162:"d589d3a7",173:"d167c9fe",195:"c4f5d8e4",414:"393be207",514:"1be78505",516:"a5f93cd8",592:"common",599:"e833177e",918:"17896441"}[e]||e)+"."+{53:"d1edc687",85:"55e6ef7a",162:"7832c8c9",173:"a41f6225",195:"e8097e42",414:"90c32b60",514:"d591cc98",516:"911fcd82",592:"ce3b74b1",599:"64c2ed9a",608:"7a1dfb64",918:"62b9449c",933:"74580eb2"}[e]+".js",i.miniCssF=e=>"assets/css/styles.670ddddb.css",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},n="docs:",i.l=(e,t,r,a)=>{if(o[e])o[e].push(t);else{var c,f;if(void 0!==r)for(var d=document.getElementsByTagName("script"),s=0;s{c.onerror=c.onload=null,clearTimeout(b);var n=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach((e=>e(r))),t)return t(r)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),f&&document.head.appendChild(c)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/react-native-template/",i.gca=function(e){return e={17896441:"918","935f2afb":"53","1f391b9e":"85",d589d3a7:"162",d167c9fe:"173",c4f5d8e4:"195","393be207":"414","1be78505":"514",a5f93cd8:"516",common:"592",e833177e:"599"}[e]||e,i.p+i.u(e)},(()=>{var e={303:0,532:0};i.f.j=(t,r)=>{var o=i.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var n=new Promise(((r,n)=>o=e[t]=[r,n]));r.push(o[2]=n);var a=i.p+i.u(t),c=new Error;i.l(a,(r=>{if(i.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+n+": "+a+")",c.name="ChunkLoadError",c.type=n,c.request=a,o[1](c)}}),"chunk-"+t,t)}},i.O.j=t=>0===e[t];var t=(t,r)=>{var o,n,a=r[0],c=r[1],f=r[2],d=0;if(a.some((t=>0!==e[t]))){for(o in c)i.o(c,o)&&(i.m[o]=c[o]);if(f)var s=f(i)}for(t&&t(r);d Getting Started | React Native Template - +

Getting Started

Prerequisite#

  1. Make sure that you have followed the environment setup instructions properly from the official React Native docs.

  2. The installation command will fail if you have the global legacy react-native-cli installed in your machine. Make sure you uninstall it first:

yarn global remove react-native-cli

or if using npm

npm uninstall -g react-native-cli

Initialising#

Generate a new React Native(v0.73) app using the @ajaysidhu/react-native-template:

npx react-native init myapp --template @ajaysidhu/react-native-template --skip-install

You might also be prompted to confirm the installation for the packages react-native and husky. Simply hit enter to proceed.

The template will automatically install the npm dependencies and the pods (if you are on the MacOS).

Install from GitHub#

If you want to use the template directly from the GitHub or try out the latest features which are not release to the npm yet, then you can run:

npx react-native init myapp --template https://github.com/ajaykumar97/react-native-template.git --skip-install

Use Older versions#

If you want to use an older version of the template, then you can run(replace version with your desired version):

npx react-native init myapp --template @ajaysidhu/react-native-template@version --skip-install

You can look at all versions, that I have published here.

Configure Google Service Files#

If you want to extend the setup further to configure different Google Service files for Development, Testing, Staging and Production environments, you can follow my this Medium post.

Make your own template#

Enjoying this awesome template feature of react-native-cli and want to build your own react-native-template? No worries! I have written a dedicated post to create your own react-native-template based your own project needs. You can give it a read here.

- + \ No newline at end of file diff --git a/docs/key-features/index.html b/docs/key-features/index.html index 85c8dac..4b8845f 100644 --- a/docs/key-features/index.html +++ b/docs/key-features/index.html @@ -5,13 +5,13 @@ Key Features | React Native Template - +
-

Key Features

- +

Key Features

+ \ No newline at end of file diff --git a/docs/project-structure/index.html b/docs/project-structure/index.html index 1c0404a..ff1555b 100644 --- a/docs/project-structure/index.html +++ b/docs/project-structure/index.html @@ -5,13 +5,13 @@ Project Structure | React Native Template - +

Project Structure

rootโ”œโ”€โ”€ .huskyโ”œโ”€โ”€ __tests__โ”œโ”€โ”€ androidโ”œโ”€โ”€ iosโ”œโ”€โ”€ node_modulesโ”œโ”€โ”€ scriptsโ”‚   โ””โ”€โ”€ runPostInstallUninstallTasks.jsโ”œโ”€โ”€ srcโ”‚ย ย  โ”œโ”€โ”€ assetsโ”‚ย ย  โ”‚   โ”œโ”€โ”€ fontsโ”‚ย ย  โ”‚   โ””โ”€โ”€ iconsโ”‚ย ย  โ”œโ”€โ”€ commonComponentsโ”‚ย ย  โ”œโ”€โ”€ localization|   |   โ”œโ”€โ”€ en.json|   |   โ””โ”€โ”€ index.tsxโ”‚ย ย  โ”œโ”€โ”€ navigationโ”‚ย ย  โ”‚   โ”œโ”€โ”€ AppNavigator.tsxโ”‚ย ย  โ”‚   โ”œโ”€โ”€ AuthNavigator.tsxโ”‚ย ย  โ”‚   โ””โ”€โ”€ MainNavigator.tsxโ”‚ย ย  โ”œโ”€โ”€ screensโ”‚   โ”‚   โ”œโ”€โ”€ AuthScreensโ”‚   โ”‚   โ””โ”€โ”€ MainAppScreensโ”‚ย ย  โ”œโ”€โ”€ storeโ”‚   โ”‚   โ”œโ”€โ”€ index.tsxโ”‚   โ”‚   โ””โ”€โ”€ reducers.tsxโ”‚   โ”œโ”€โ”€ utilitiesโ”‚   โ”‚   โ”œโ”€โ”€ constantsโ”‚   โ”‚   โ”œโ”€โ”€ helperFunctionsโ”‚   โ”‚   โ”œโ”€โ”€ layout.tsxโ”‚   โ”‚   โ”œโ”€โ”€ logger.tsxโ”‚   โ”‚   โ”œโ”€โ”€ navigationService.tsxโ”‚   โ”‚   โ””โ”€โ”€ request.tsxโ”‚   โ””โ”€โ”€ App.tsxโ”œโ”€โ”€ .env.developmentโ”œโ”€โ”€ .env.productionโ”œโ”€โ”€ .env.stagingโ”œโ”€โ”€ .env.templateโ”œโ”€โ”€ .env.testingโ”œโ”€โ”€ index.jsโ”œโ”€โ”€ react-native.config.jsโ””โ”€โ”€ package.json
- + \ No newline at end of file diff --git a/docs/scripts/index.html b/docs/scripts/index.html index f0bdd6a..d7dde38 100644 --- a/docs/scripts/index.html +++ b/docs/scripts/index.html @@ -5,13 +5,13 @@ Scripts | React Native Template - +

Scripts

The scripts section of the package.json contains few handy scripts to automate some common operations. You can run any of the desired script like:

npm run <script-name>

For example, to run androidStagingDebug:

npm run androidStagingDebug

or, using npm:

npm run androidStagingDebug

androidDevelopmentDebug#

It will run the debug android build with development varient.

androidTestingDebug#

It will run the debug android build with testing varient.

androidStagingDebug#

It will run the debug android build with staging varient.

androidProductionDebug#

It will run the debug android build with production varient.

iosDevelopmentDebug#

It will run the debug iOS build with development scheme.

iosTestingDebug#

It will run the debug iOS build with testing scheme.

iosStagingDebug#

It will run the debug iOS build with staging scheme.

iosProductionDebug#

It will run the debug iOS build with production scheme.

start#

It will start the Metro Bundler.

test#

It will run all of the test cases.

test:watch#

It will run the all of the test cases or the specified test case(after the test command) in watch mode. It will automatically re-run the test cases if any of the test case or the .js file will be changed.

lint#

It will check the whole codebase for the lint issues.

postinstall#

These are the set of tasks which will run after every dependency installation. These tasks are:

  • If you are running the project on MacOS, the it will automatically install the pods in the ios directory. If you are not on a MacOS machine, then it will skip the installing the pods.

uninstall#

It will run all of the tasks mentioned in the postinstall script above after uninstalling any dependency.

- + \ No newline at end of file diff --git a/index.html b/index.html index 882b6ac..d30c473 100644 --- a/index.html +++ b/index.html @@ -5,13 +5,13 @@ Docs of React Native Template | React Native Template - +

React Native Template

Reduce project initialization time by 90%

IfItDoesntMatchAnyMedia
- + \ No newline at end of file diff --git a/markdown-page/index.html b/markdown-page/index.html index 07ae474..33ea589 100644 --- a/markdown-page/index.html +++ b/markdown-page/index.html @@ -5,13 +5,13 @@ Markdown page example | React Native Template - +

Markdown page example

You don't need React to write simple standalone pages.

- + \ No newline at end of file