UNPKG

react-native-amount-textfield

Version:

This library gives you a Amount TextField component, which has formatted value based on International Currency standard. The component return back float value ( the actual Number) and a Formatted value which can be saved in a state and used for display i

84 lines (83 loc) 1.92 kB
{ "name": "react-native-amount-textfield", "version": "1.0.11", "description": "", "homepage": "https://github.com/npaul2173/react-native-amount-textfield#readme", "main": "lib/index.js", "types": "lib/index.d.ts", "author": "Nabendu Paul <npauldev001@gmail.com>", "license": "MIT", "files": [ "android", "ios", "lib", "react-native-amount-textfield.podspec", "!android/build", "!.DS_Store", "!.gradle", "!.idea", "!build", "!gradle", "!*.iml", "!gradlew", "!gradlew.bat", "!local.properties", "!project.xcworkspace", "!xcshareddata", "!xcuserdata" ], "scripts": { "compile": "rm -rf lib && tsc -p .", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "prepare": "yarn compile", "test": "jest" }, "devDependencies": { "@babel/core": "^7.16.12", "@babel/runtime": "^7.16.7", "@react-native-community/eslint-config": "^3.0.1", "@types/jest": "^27.4.0", "@types/react-native": "^0.66.15", "@types/react-test-renderer": "^17.0.1", "babel-jest": "^27.4.6", "eslint": "^7.32.0", "eslint-plugin-simple-import-sort": "^7.0.0", "jest": "^27.4.7", "metro-react-native-babel-preset": "^0.67.0", "react": "^17.0.2", "react-native": "^0.67.1", "react-test-renderer": "^17.0.2", "typescript": "^4.5.5" }, "peerDependencies": { "react": "*", "react-native": "*" }, "keywords": [ "currency format", "Amount formatter", "Number Format", "Currency", "Amount Textfield", "react-native", "Currency Input", "Formatter", "Amount Formatter Textfield", "Format Textfield", "Textfield", "Thousand", "Thousand Seperator", "Decimal Formatter" ], "jest": { "preset": "react-native", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] } }