UNPKG

@eslam-elmeniawy/react-native-common-components

Version:

Common `ReactNative` components packed in library for usage in projects.

297 lines (296 loc) 8.67 kB
{ "name": "@eslam-elmeniawy/react-native-common-components", "version": "2.1.0", "description": "Common `ReactNative` components packed in library for usage in projects.", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "exports": { ".": { "source": "./src/index.tsx", "types": "./lib/typescript/src/index.d.ts", "default": "./lib/module/index.js" }, "./package.json": "./package.json" }, "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.js", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace @eslam-elmeniawy/react-native-common-components-example", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:ci": "jest --maxWorkers=2 --coverage", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it --only-version", "check-dependencies": "rnx-align-deps", "fix-dependencies": "rnx-align-deps --write" }, "keywords": [ "react-native", "ios", "android", "common", "components", "common-components", "eslam", "elmeniawy", "eslamelmeniawy", "eslam-elmeniawy" ], "repository": { "type": "git", "url": "git+https://github.com/EslamElMeniawy/react-native-common-components.git" }, "author": "Eslam ElMeniawy <eslam.elmeniawy@gmail.com> (https://github.com/EslamElMeniawy)", "license": "MIT", "bugs": { "url": "https://github.com/EslamElMeniawy/react-native-common-components/issues" }, "homepage": "https://github.com/EslamElMeniawy/react-native-common-components#readme", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "devDependencies": { "@commitlint/config-conventional": "^20.2.0", "@d11/react-native-fast-image": "^8.13.0", "@eslint/compat": "^1.3.2", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.35.0", "@evilmartians/lefthook": "^2.0.13", "@react-native-community/cli": "^20.0.0", "@react-native-community/cli-platform-android": "^20.0.0", "@react-native-community/cli-platform-ios": "^20.0.0", "@react-native-firebase/app": "^23.7.0", "@react-native-firebase/crashlytics": "^23.7.0", "@react-native-vector-icons/material-design-icons": "^12.4.0", "@react-native/babel-preset": "^0.81.0", "@react-native/eslint-config": "^0.81.1", "@react-native/metro-config": "^0.81.0", "@release-it/conventional-changelog": "8.0.2", "@rnx-kit/align-deps": "^3.3.4", "@testing-library/jest-native": "^5.4.3", "@testing-library/react-hooks": "^8.0.1", "@testing-library/react-native": "^13.3.3", "@types/jest": "^30.0.0", "@types/lodash": "^4.17.21", "@types/react": "^19.2.7", "@types/tinycolor2": "^1.4.6", "commitlint": "^20.2.0", "del-cli": "^6.0.0", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "jest": "^29.2.1", "prettier": "^3.7.4", "react": "19.1.0", "react-native": "^0.81.0", "react-native-builder-bob": "^0.40.13", "react-native-keyboard-controller": "^1.20.2", "react-native-paper": "^5.14.5", "react-native-progress": "^5.0.1", "react-native-reanimated": "^3.19.0", "react-native-safe-area-context": "^5.6.0", "react-native-svg": "^15.12.1", "react-native-vector-image": "^0.6.0", "react-native-worklets": "^0.7.1", "react-test-renderer": "19.1.0", "reactotron-react-native": "^5.1.18", "release-it": "^19.0.4", "turbo": "^2.5.6", "typescript": "^5.9.2" }, "peerDependencies": { "@d11/react-native-fast-image": "*", "@react-native-firebase/app": "*", "@react-native-firebase/crashlytics": "*", "@react-native-vector-icons/material-design-icons": "*", "react": "16.9.0 || 16.11.0 || 16.13.1 || 17.0.1 || 17.0.2 || 18.0.0 || 18.1.0 || 18.2.0 || ^18.2.0 || 18.3.1 || 19.0.0 || 19.1.0 || 19.1.1 || 19.2.0", "react-native": "^0.61.5 || ^0.62.3 || ^0.63.2 || ^0.64.2 || ^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0 || ^0.74.0 || ^0.75.0 || ^0.76.0 || ^0.77.0 || ^0.78.0 || ^0.79.0 || ^0.80.0 || ^0.81.0 || ^0.82.0 || ^0.83.0", "react-native-keyboard-controller": "*", "react-native-paper": "*", "react-native-progress": "*", "react-native-reanimated": "^1.13.3 || ^2.1.0 || ^2.2.1 || ^2.2.3 || ^2.2.4 || ^2.5.0 || ^2.9.0 || ^2.10.0 || ^2.14.1 || ^3.3.0 || ^3.6.0 || ^3.9.0 || ^3.15.0 || ^3.16.1 || ^3.16.7 || ^3.17.0 || ^3.17.5 || ^3.18.0 || ^3.19.0 || ^4.2.0", "react-native-safe-area-context": "^3.1.9 || ^3.2.0 || ^4.3.1 || ^4.4.1 || ^4.5.1 || >=4.5.3 <4.8 || ^4.8.2 || ^4.10.5 || ^4.12.0 || ^5.1.0 || ^5.2.0 || ^5.4.0 || ^5.6.0", "react-native-svg": "^12.1.1 || ^12.3.0 || ^13.14.0 || >=15.0.0 <15.13.0 || >=15.4.0 <15.13.0 || >=15.6.0 <15.13.0 || >=15.8.0 <15.13.0 || >=15.11.1 <15.13.0 || ^15.11.2 || ^15.12.0 || ^15.12.1 || ^15.15.1", "react-native-vector-image": "*", "react-native-worklets": "*", "reactotron-react-native": "*" }, "peerDependenciesMeta": { "@d11/react-native-fast-image": { "optional": true }, "@react-native-firebase/app": { "optional": true }, "@react-native-firebase/crashlytics": { "optional": true }, "react-native-keyboard-controller": { "optional": true }, "react-native-progress": { "optional": true }, "react-native-reanimated": { "optional": true }, "react-native-svg": { "optional": true }, "react-native-vector-image": { "optional": true }, "react-native-worklets": { "optional": true }, "reactotron-react-native": { "optional": true } }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "setupFiles": [ "<rootDir>/jest.setup.js" ], "setupFilesAfterEnv": [ "<rootDir>/jest.afterEnv.js" ], "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ], "collectCoverageFrom": [ "src/**/*.{ts,tsx}", "!src/**/*.types.{ts,tsx}", "!src/**/*.styles.{ts,tsx}", "!src/index.tsx", "!src/**/__tests__/**", "!src/**/__mocks__/**" ], "coverageThreshold": { "global": { "statements": 80, "branches": 75, "functions": 75, "lines": 75 } } }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "angular" } } } }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "ReactNativeCommonComponentsSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.eslamelmeniawy.reactnativecommoncomponents" } }, "create-react-native-library": { "languages": "kotlin-objc", "type": "turbo-module", "version": "0.54.5" }, "dependencies": { "lodash": "^4.17.21", "tinycolor2": "^1.6.0" }, "rnx-kit": { "kitType": "library", "alignDeps": { "requirements": { "development": [ "react-native@0.81" ], "production": [ "react-native@*" ] }, "capabilities": [ "animation", "babel-preset-react-native", "community/cli", "core", "core-android", "core-ios", "jest", "react", "safe-area", "svg" ] } } }