UNPKG

react-native-localize

Version:

A toolbox for your React Native app localization.

89 lines (88 loc) 2.21 kB
{ "name": "react-native-localize", "version": "3.5.1", "license": "MIT", "description": "A toolbox for your React Native app localization.", "author": "Mathieu Acthernoene <zoontek@gmail.com>", "homepage": "https://github.com/zoontek/react-native-localize", "types": "dist/typescript/index.d.ts", "main": "dist/commonjs/index.js", "module": "dist/module/index.js", "files": [ "/android", "/dist", "/ios", "/mock", "/src", "RNLocalize.podspec", "package.json" ], "repository": { "type": "git", "url": "https://github.com/zoontek/react-native-localize.git" }, "keywords": [ "react-native-localize", "react-native", "react-native-macos", "localize", "localization", "l20n" ], "scripts": { "clean": "rm -rf dist", "format": "prettier '**/*' -u -w", "typecheck": "tsc --noEmit", "build": "yarn clean && bob build && rm -rf dist/*/package.json && tsc mock/{index,jest}.ts -d -m commonjs -t es2015 --skipLibCheck", "prepack": "prettier '**/*' -u -c && yarn typecheck && yarn build" }, "react-native-builder-bob": { "source": "src", "output": "dist", "targets": [ "commonjs", "module", "typescript" ] }, "prettier": { "plugins": [ "prettier-plugin-organize-imports" ] }, "peerDependencies": { "@expo/config-plugins": "^9.0.0 || ^10.0.0", "react": "*", "react-native": "*", "react-native-macos": "*" }, "peerDependenciesMeta": { "@expo/config-plugins": { "optional": true }, "react-native-macos": { "optional": true } }, "devDependencies": { "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@expo/config-plugins": "^10.1.2", "@types/jest": "^29.5.13", "@types/react": "^19.1.0", "prettier": "^3.6.2", "prettier-plugin-organize-imports": "^4.1.0", "react": "19.1.0", "react-native": "0.80.0", "react-native-builder-bob": "^0.40.12", "typescript": "^5.8.3" }, "codegenConfig": { "name": "RNLocalizeSpec", "type": "modules", "jsSrcsDir": "./src", "android": { "javaPackageName": "com.zoontek.rnlocalize" } } }