UNPKG

@wolf-tp/react-native-boilerplate

Version:

React Native Template

117 lines (116 loc) 4.02 kB
{ "name": "baseapp", "version": "0.0.1", "private": true, "scripts": { "splash": "yarn react-native generate-bootsplash splash/splash.png --background-color=FFFFFF --logo-width=200 --assets-path=assets --flavor=main", "android-dev": "bun ./scripts/android.ts env/.dev devdebug", "android-prod": "bun ./scripts/android.ts env/.prod prodDebug", "ios-dev": "bun ./scripts/ios.ts env/.dev", "ios-prod": "bun ./scripts/ios.ts env/.prod", "android": "react-native run-android", "generate": "plop --plopfile ./plop/plop-file.js", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "format": "$(git diff --diff-filter=ACMRTUXB --name-only HEAD | grep -E '\\.(ts|tsx)$' | xargs prettier --write --loglevel silent)", "lint": "eslint $(git diff --diff-filter=ACMRTUXB --name-only HEAD | grep -E '\\.(ts|tsx)$' | xargs)", "github-action-lint": "eslint --ext .js,.jsx,.ts,.tsx src/app/", "postinstall": "node ./scripts/setup.js", "ts-node": "ts-node ./scripts/generator-handle", "prepare": "cd .. && husky install", "generateIndex": "node ./scripts/generate-index.js" }, "dependencies": { "@hookform/resolvers": "^3.3.4", "@react-native-community/netinfo": "^9.3.0", "@react-native-masked-view/masked-view": "^0.2.7", "@react-navigation/bottom-tabs": "6.5.11", "@react-navigation/native": "6.1.9", "@react-navigation/stack": "6.3.20", "@reduxjs/toolkit": "2.1.0", "@shopify/flash-list": "^1.6.3", "dayjs": "^1.11.10", "i18next": "^22.3.0", "react": "18.2.0", "react-fast-compare": "^3.2.0", "react-hook-form": "^7.50.1", "react-i18next": "^12.1.1", "react-native": "0.73.5", "react-native-bootsplash": "5.4.1", "react-native-config": "1.5.1", "react-native-fast-image": "^8.6.3", "react-native-gesture-handler": "2.15.0", "react-native-keyboard-manager": "^6.5.11-2", "react-native-mmkv": "^2.12.1", "react-native-reanimated": "3.6.2", "react-native-responsive-screen": "^1.4.2", "react-native-safe-area-context": "4.9.0", "react-native-screens": "3.29.0", "react-native-shared-element": "^0.8.8", "react-native-svg": "14.1.0", "react-native-tab-view": "^3.2.1", "react-navigation-shared-element": "^3.1.3", "react-redux": "9.1.0", "redux-saga": "1.3.0", "styled-components": "^5.3.5" }, "devDependencies": { "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native-community/eslint-config": "^2.0.0", "@react-native/babel-preset": "0.73.21", "@react-native/eslint-config": "0.73.2", "@react-native/metro-config": "0.73.5", "@react-native/typescript-config": "0.73.1", "@tsconfig/react-native": "^2.0.2", "@types/jest": "^26.0.23", "@types/node": "^20.11.20", "@types/react": "^18.2.6", "@types/react-native": "0.70.6", "@types/react-test-renderer": "^18.0.0", "@types/styled-components": "^5.1.26", "@types/styled-components-react-native": "^5.1.3", "@typescript-eslint/eslint-plugin": "^5.29.0", "@typescript-eslint/parser": "^5.29.0", "babel-jest": "^29.6.3", "babel-plugin-module-resolver": "^4.1.0", "babel-plugin-transform-remove-console": "^6.9.4", "eslint": "^8.19.0", "eslint-plugin-import": "^2.26.0", "husky": "^8.0.1", "jest": "^29.6.3", "metro-react-native-babel-preset": "0.72.3", "patch-package": "^6.4.7", "plop": "^3.1.1", "prettier": "2.8.8", "react-test-renderer": "18.2.0", "ts-node": "^10.9.1", "tslib": "^2.4.0", "typescript": "5.0.4" }, "engines": { "node": ">=18" }, "lint-staged": { "*.{ts,tsx,js}": [ "eslint --ext" ] }, "resolutions": { "@types/react": "^18", "styled-components": "^5" }, "jest": { "preset": "react-native", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] } }