react-native-boiler-plate-vijay 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,27 +5,27 @@ A professional, production-ready React Native template with TypeScript, Redux To
5
5
  ## Usage
6
6
 
7
7
  ```bash
8
- npx @react-native-community/cli@latest init MyApp --template @vijayp-07/react-native-boiler-plate
8
+ npx @react-native-community/cli@latest init MyApp --template react-native-boiler-plate-vijay
9
9
  ```
10
10
 
11
11
  ## What's Included
12
12
 
13
- | Category | Library |
14
- |---|---|
15
- | Language | TypeScript |
16
- | Navigation | React Navigation v7 (Stack + Bottom Tabs) |
17
- | State Management | Redux Toolkit + React Redux |
18
- | HTTP Client | Axios (with interceptors) |
19
- | Storage | AsyncStorage |
20
- | Internationalisation | i18next + react-i18next |
21
- | SVG Support | react-native-svg + react-native-svg-transformer |
22
- | Network Detection | @react-native-community/netinfo |
23
- | Device Info | react-native-device-info |
24
- | Notifications | react-native-flash-message |
25
- | Linting | ESLint + @react-native/eslint-config |
26
- | Formatting | Prettier |
27
- | Git Hooks | Husky + lint-staged |
28
- | Testing | Jest + react-test-renderer |
13
+ | Category | Library |
14
+ | -------------------- | ----------------------------------------------- |
15
+ | Language | TypeScript |
16
+ | Navigation | React Navigation v7 (Stack + Bottom Tabs) |
17
+ | State Management | Redux Toolkit + React Redux |
18
+ | HTTP Client | Axios (with interceptors) |
19
+ | Storage | AsyncStorage |
20
+ | Internationalisation | i18next + react-i18next |
21
+ | SVG Support | react-native-svg + react-native-svg-transformer |
22
+ | Network Detection | @react-native-community/netinfo |
23
+ | Device Info | react-native-device-info |
24
+ | Notifications | react-native-flash-message |
25
+ | Linting | ESLint + @react-native/eslint-config |
26
+ | Formatting | Prettier |
27
+ | Git Hooks | Husky + lint-staged |
28
+ | Testing | Jest + react-test-renderer |
29
29
 
30
30
  ## Folder Structure
31
31
 
@@ -51,9 +51,9 @@ src/
51
51
  All aliases are configured in both `babel.config.js` and `tsconfig.json`:
52
52
 
53
53
  ```ts
54
- import { PrimaryButton } from '@components';
55
- import { colors } from '@theme';
56
- import { axiosInstance } from '@api';
54
+ import {PrimaryButton} from '@components';
55
+ import {colors} from '@theme';
56
+ import {axiosInstance} from '@api';
57
57
  ```
58
58
 
59
59
  ## Scripts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-boiler-plate-vijay",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A professional, production-ready React Native boilerplate template with TypeScript, Redux Toolkit, React Navigation, Axios, i18n, SVG support, and scalable architecture.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -5,7 +5,7 @@ A production-ready React Native boilerplate with navigation, Redux, i18n, axios,
5
5
  ## Usage
6
6
 
7
7
  ```bash
8
- npx @react-native-community/cli@latest init MyApp --template react-native-boiler-plate
8
+ npx @react-native-community/cli@latest init MyApp --template react-native-boiler-plate-vijay
9
9
  ```
10
10
 
11
11
  ## Features
@@ -5,17 +5,9 @@
5
5
  "scripts": {
6
6
  "android": "react-native run-android",
7
7
  "ios": "react-native run-ios",
8
- "start": "react-native start --reset-cache",
9
- "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
10
- "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
11
- "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\"",
12
- "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx}\"",
13
- "test": "jest --passWithNoTests",
14
- "test:coverage": "jest --coverage --passWithNoTests",
15
- "clean:android": "cd android && ./gradlew clean && cd ..",
16
- "clean:ios": "cd ios && xcodebuild clean && cd ..",
17
- "clean": "react-native clean",
18
- "prepare": "husky"
8
+ "lint": "eslint .",
9
+ "start": "react-native start --reset-cache --client-logs",
10
+ "test": "jest"
19
11
  },
20
12
  "dependencies": {
21
13
  "@react-native-async-storage/async-storage": "^3.0.2",
@@ -56,26 +48,15 @@
56
48
  "@types/validator": "^13.15.10",
57
49
  "babel-plugin-module-resolver": "^5.0.3",
58
50
  "eslint": "^8.19.0",
59
- "husky": "^9.1.7",
60
51
  "jest": "^29.6.3",
61
- "lint-staged": "^15.2.10",
62
52
  "prettier": "2.8.8",
63
53
  "react-native-svg-transformer": "^1.5.3",
64
54
  "react-test-renderer": "19.2.3",
65
55
  "typescript": "^5.8.3"
66
56
  },
67
- "lint-staged": {
68
- "*.{ts,tsx,js,jsx}": [
69
- "eslint --fix",
70
- "prettier --write"
71
- ]
72
- },
73
57
  "jest": {
74
58
  "preset": "react-native",
75
- "setupFilesAfterFramework": [],
76
- "transformIgnorePatterns": [
77
- "node_modules/(?!(react-native|@react-native|@react-navigation|react-native-svg)/)"
78
- ]
59
+ "preset": "react-native"
79
60
  },
80
61
  "engines": {
81
62
  "node": ">= 22.11.0"
@@ -1 +0,0 @@
1
- npx lint-staged