{"_id":"@arjungenius/react-native-boilerplate","_rev":"5-fbf2b24111a0d6f3e22b85dcc2232699","name":"@arjungenius/react-native-boilerplate","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@arjungenius/react-native-boilerplate","version":"1.0.0","keywords":["react-native","template","boilerplate","redux","navigation"],"author":{"name":"Arjun"},"license":"MIT","_id":"@arjungenius/react-native-boilerplate@1.0.0","maintainers":[{"name":"arjungenius","email":"patidararjun9755@gmail.com"}],"dist":{"shasum":"a5421ccbe3b62efb849be08c1436bce7c8093643","tarball":"https://registry.npmjs.org/@arjungenius/react-native-boilerplate/-/react-native-boilerplate-1.0.0.tgz","fileCount":94,"integrity":"sha512-mX1l2ZA5VonoNcRaZrniTfvn6dq/cZls8V1R7WYjb6K9MRsvCtwO2xaPmJNwJxSyXByEDY614f4pcMlNLIpLjA==","signatures":[{"sig":"MEYCIQCjEPjyF5RnfCaoTnwDEN3eM8xvzHqPQbQu8myPLJzCNAIhAJS5VzbEeVbE/by8Ylm3WHyRSSWTWjuVS0Q+1OkhiOeN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3034240},"main":"template.config.js","_npmUser":{"name":"arjungenius","email":"patidararjun9755@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"React Native 0.84.1 Boilerplate Template","directories":{},"_nodeVersion":"22.8.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/react-native-boilerplate_1.0.0_1778154139935_0.11811720592982167","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@arjungenius/react-native-boilerplate","version":"1.0.2","keywords":["react-native","template","boilerplate","redux","navigation"],"author":{"name":"Arjun"},"license":"MIT","_id":"@arjungenius/react-native-boilerplate@1.0.2","maintainers":[{"name":"arjungenius","email":"patidararjun9755@gmail.com"}],"dist":{"shasum":"e3a0d852a174ba5681a24d3512184166e3ad1408","tarball":"https://registry.npmjs.org/@arjungenius/react-native-boilerplate/-/react-native-boilerplate-1.0.2.tgz","fileCount":95,"integrity":"sha512-TOajOKcFRYY/AoOvd8fj8cZHeNH1Jm1tq98h9euFiy9VcXvkNVr+5zfNiB4aOedETIaid8yOOcjsRq2EB5lDkA==","signatures":[{"sig":"MEUCIQDzVyDYQWCbYX+fSu9ngBlIsxYFjrQrPYQ3YisUGqAUogIgSA3joE8PcamHk2CBZhRLDkl8QNaXBLn0OaDzIDNXUQw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3040859},"main":"template.config.js","_npmUser":{"name":"arjungenius","email":"patidararjun9755@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"React Native 0.84.1 Boilerplate Template","directories":{},"_nodeVersion":"22.8.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/react-native-boilerplate_1.0.2_1778155813132_0.7271727600039735","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@arjungenius/react-native-boilerplate","version":"1.0.3","keywords":["react-native","template","boilerplate","redux","navigation"],"author":{"name":"Arjun"},"license":"MIT","_id":"@arjungenius/react-native-boilerplate@1.0.3","maintainers":[{"name":"arjungenius","email":"patidararjun9755@gmail.com"}],"dist":{"shasum":"6a5f7d7e481a639ca5c1c935bcfb5f71622aab79","tarball":"https://registry.npmjs.org/@arjungenius/react-native-boilerplate/-/react-native-boilerplate-1.0.3.tgz","fileCount":96,"integrity":"sha512-T3NHadhM9I9AfAt9IMjMJgicauu62L9I9OqnUyBVi2ShFCYQoZcvFvtaLHcrL3DiJeJgGexeI3oAKnDF8J3NSQ==","signatures":[{"sig":"MEUCIAqF48H53Bcr19rb1MGp8G3lyOF+rh/aZNjEUrCiZj5rAiEA6B+XcqRNAOdB3RsZq4gQBbsSRPNwPclzscRvyIcpiDQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3047478},"main":"template.config.js","_npmUser":{"name":"arjungenius","email":"patidararjun9755@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"React Native 0.84.1 Boilerplate Template","directories":{},"_nodeVersion":"22.8.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/react-native-boilerplate_1.0.3_1778155992101_0.09081002472177069","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@arjungenius/react-native-boilerplate","version":"1.0.4","keywords":["react-native","template","boilerplate","redux","navigation"],"author":{"name":"Arjun"},"license":"MIT","_id":"@arjungenius/react-native-boilerplate@1.0.4","maintainers":[{"name":"arjungenius","email":"patidararjun9755@gmail.com"}],"dist":{"shasum":"1b9debb5b56036c942364ebbf38b13b46aa5584d","tarball":"https://registry.npmjs.org/@arjungenius/react-native-boilerplate/-/react-native-boilerplate-1.0.4.tgz","fileCount":96,"integrity":"sha512-JiHUP4ybak3FIn2EfUKrSdVKl1s2SmURwLRBEfxqszx5f5b+rQ3WsvOSLQFRz6bD5SPwu2i1xihY8HxnKC3ulg==","signatures":[{"sig":"MEUCIQDAAZj2exWVKpKWA4VJYUwnW/bF6ok4Nij57GpC0ZN1XQIgI/RXcMA9ACnNKQuh4VRN115GYGeYv6V10O1aYqbQMN8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3047554},"main":"template.config.js","_npmUser":{"name":"arjungenius","email":"patidararjun9755@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"React Native 0.84.1 Boilerplate Template","directories":{},"_nodeVersion":"22.8.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/react-native-boilerplate_1.0.4_1778156121240_0.34184459704092807","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@arjungenius/react-native-boilerplate","version":"1.0.5","description":"React Native 0.84.1 Boilerplate Template","main":"template.config.js","keywords":["react-native","template","boilerplate","redux","navigation","typescript","i18n"],"author":{"name":"Arjun"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/arjungenius/react-native-boilerplate.git"},"_id":"@arjungenius/react-native-boilerplate@1.0.5","gitHead":"72ea8fc7705fa4bce9c002bd3755b67401084980","bugs":{"url":"https://github.com/arjungenius/react-native-boilerplate/issues"},"homepage":"https://github.com/arjungenius/react-native-boilerplate#readme","_nodeVersion":"22.8.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ecNhW7LHJlTdg4QVC9eaZfUWuvkx6KaqDfKGDl7pe0fNlDGtGX+j7Pq/iy5YtQgqjIlkAjBsbb2nWGljgfIw3A==","shasum":"19faf0b9b9e018625cb7b1f05bef71e1dd594774","tarball":"https://registry.npmjs.org/@arjungenius/react-native-boilerplate/-/react-native-boilerplate-1.0.5.tgz","fileCount":123,"unpackedSize":3454790,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDTJlZsc3iQI40NItfcaanaNznJPqpRZr+R0HH0XyruCQIgJs7Bq/dssOafHuZTX0JgIeqpStuiNOUhVkXAkiYx7lU="}]},"_npmUser":{"name":"arjungenius","email":"patidararjun9755@gmail.com"},"directories":{},"maintainers":[{"name":"arjungenius","email":"patidararjun9755@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native-boilerplate_1.0.5_1779364177434_0.00753264576229995"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T11:42:19.868Z","modified":"2026-05-21T11:49:37.823Z","1.0.0":"2026-05-07T11:42:20.159Z","1.0.2":"2026-05-07T12:10:13.425Z","1.0.3":"2026-05-07T12:13:12.383Z","1.0.4":"2026-05-07T12:15:21.466Z","1.0.5":"2026-05-21T11:49:37.715Z"},"author":{"name":"Arjun"},"license":"MIT","keywords":["react-native","template","boilerplate","redux","navigation","typescript","i18n"],"repository":{"type":"git","url":"git+https://github.com/arjungenius/react-native-boilerplate.git"},"description":"React Native 0.84.1 Boilerplate Template","maintainers":[{"name":"arjungenius","email":"patidararjun9755@gmail.com"}],"readme":"# React Native Template Boilerplate\n\nThis is the boilerplate project that includes navigation and other essential setups. Use this template to kickstart your React Native project without worrying about initial configurations. Please refer to the README file for setup instructions and a detailed explanation of the boilerplate structure.\n\n## Usage\n\n```bash\nnpx @react-native-community/cli@latest init MyApp --template @arjungenius/react-native-boilerplate\n```\n\n## Features\n\n- **Folder Structure:** Organized folder layout for API, Redux, assets, components, screens, and more.\n- **Redux Integration:** Includes Redux setup with slices for managing loader and profile states.\n- **Asset Management:** Handles fonts and images with an export setup for easy access.\n- **Internationalization (i18n):** Localization support with English language translations.\n- **Navigation:** Configured with React Navigation for stack and bottom tab navigation.\n- **Utility Functions:** Common utilities like async services and constants provided.\n- **Custom Components:** Reusable UI components like loaders and styled text components.\n- **TypeScript Support:** Includes TypeScript type definitions for enhanced development.\n\n## Project Folder Structure\n\n```\n📁src\n│\n├── 📁api\n│   ├── APIManager.ts\n│   └── index.ts\n│\n├── 📁appredux\n│   ├── 📁Modules\n│   │   ├── LoaderSlice.ts\n│   │   ├── ProfileSlice.ts\n│   │   └── index.ts\n│   └── index.ts\n│\n├── 📁assets\n│   ├── 📁Fonts\n│   │   ├── Inter-Black.ttf\n│   │   ├── Inter-Bold.ttf\n│   └── 📁Images\n│       ├── IC_Close.svg\n│       ├── IC_CloseWhite.svg\n│       └── index.ts\n│\n├── 📁common\n│   ├── asyncServices.ts\n│   ├── constant.ts\n│   └── index.ts\n│\n├── 📁components\n│   ├── CustomLoader.tsx\n│   ├── PrimaryText.tsx\n│   └── index.ts\n│\n├── 📁data\n│   └── index.ts\n│\n├── 📁hooks\n│   └── index.ts\n│\n├── 📁i18n\n│   ├── en.ts\n│   └── index.ts\n│\n├── index.tsx\n│\n├── 📁navigation\n│   ├── MainNavigation.tsx\n│   ├── RootNavigation.tsx\n│   └── index.ts\n│\n├── 📁screens\n│   ├── 📁Home\n│   │   └── index.tsx\n│   ├── 📁Login\n│   │   └── index.tsx\n│   └── index.ts\n│\n├── 📁services\n│   └── index.ts\n│\n├── 📁theme\n│   └── index.ts\n│\n└── 📁types\n    └── index.ts\n```\n\n## Folder Overview\n\nThis section provides a structured overview of the project's folder organization within the `src` directory. Each folder serves a specific purpose and contains relevant files necessary for developing and maintaining the React Native application. Importing and exporting within the project is centralized through the `index.ts` files located in each parent folder.\n\n### api\nContains API-related files.\n- `APIManager.ts`: Manages API calls.\n- `index.ts`: Entry point for API-related exports.\n\n### appredux\nContains Redux-related files.\n- `LoaderSlice.ts`: Redux slice for loader management.\n- `ProfileSlice.ts`: Redux slice for profile management.\n- `index.ts`: Entry point for Redux setup.\n\n### assets\nContains fonts and images used in the application.\n- **Fonts:** Inter-Black.ttf, Inter-Bold.ttf, and more.\n- **Images:** IC_Close.svg, IC_CloseWhite.svg\n- `index.ts`: Exports image resources.\n\n### common\nContains common utility functions and constants.\n- `asyncServices.ts`: Handles asynchronous services.\n- `constant.ts`: Contains application constants.\n- `index.ts`: Entry point for common utility exports.\n\n### components\nContains reusable UI components.\n- `CustomLoader.tsx`: Custom loader component.\n- `PrimaryText.tsx`: Component for primary text styling.\n- `index.ts`: Entry point for component exports.\n\n### data\nContains data-related configurations.\n- `index.ts`: Entry point for data configurations.\n\n### hooks\nContains custom React hooks.\n- `index.ts`: Entry point for custom hook exports.\n\n### i18n\nContains internationalization files.\n- `en.ts`: English language translations.\n- `index.ts`: Entry point for internationalization exports.\n\n### navigation\nContains navigation-related components.\n- `MainNavigation.tsx`: Main navigation configuration.\n- `RootNavigation.tsx`: Root navigation setup.\n- `index.ts`: Entry point for navigation exports.\n\n### screens\nContains screen components for the application.\n- **Home:** `index.tsx` — Home screen component.\n- **Login:** `index.tsx` — Login screen component.\n- `index.ts`: Entry point for exporting screen components.\n\n### services\nContains service layer configurations.\n- `index.ts`: Entry point for service configurations.\n\n### theme\nContains theme-related configurations.\n- `index.ts`: Entry point for theme configurations.\n\n### types\nContains TypeScript type definitions.\n- `index.ts`: Entry point for type definitions.\n\n## Babel Aliases\n\nThe project uses Babel aliases to simplify imports. By default, the following aliases are configured:\n\n| Alias | Path |\n|---|---|\n| `@api` | `./src/api` |\n| `@appredux` | `./src/appredux` |\n| `@assets` | `./src/assets` |\n| `@common` | `./src/common` |\n| `@components` | `./src/components` |\n| `@data` | `./src/data` |\n| `@hooks` | `./src/hooks` |\n| `@i18n` | `./src/i18n` |\n| `@navigation` | `./src/navigation` |\n| `@screens` | `./src/screens` |\n| `@services` | `./src/services` |\n| `@theme` | `./src/theme` |\n| `@apptypes` | `./src/types` |\n\n## Customizing or Adding Aliases\n\nTo create custom aliases or add additional folders:\n\n1. **Create a New Folder:** Inside the `src` directory, create a new folder for your module or functionality.\n\n2. **Index File:** Inside your new folder, create an `index.ts` file. Import all files and modules from this folder and export them.\n\n3. **Modify Babel Configuration:** Update `babel.config.js`:\n\n```js\nmodule.exports = {\n  plugins: [\n    [\n      'module-resolver',\n      {\n        alias: {\n          '@newAlias': './src/newFolder',\n        },\n      },\n    ],\n  ],\n};\n```\n\n4. **Update TypeScript Configuration:** Modify `tsconfig.json`:\n\n```json\n{\n  \"compilerOptions\": {\n    \"baseUrl\": \"./\",\n    \"paths\": {\n      \"@newAlias/*\": [\"src/newFolder/*\"]\n    }\n  }\n}\n```\n\n## How to Start the Project\n\nInstall node_modules:\n```bash\nnpm install\n```\n\nRun on Android:\n```bash\nnpm run android\n```\n\nRun on iOS:\n```bash\nnpm run ios\n```\n\nStart Metro bundler:\n```bash\nnpm start\n```\n\n---\n\nPowered by [React Native](https://reactnative.dev)\n","readmeFilename":"README.md","homepage":"https://github.com/arjungenius/react-native-boilerplate#readme","bugs":{"url":"https://github.com/arjungenius/react-native-boilerplate/issues"}}