UNPKG

react-creditcard-validator

Version:

A fully typed React custom hook for formatting and validating payment card input fields

70 lines (69 loc) 1.78 kB
{ "name": "react-creditcard-validator", "version": "1.0.6", "description": "A fully typed React custom hook for formatting and validating payment card input fields", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "start": "rollup -c -w", "build": "rollup -c", "format": "npx prettier --write .", "test": "jest --watch" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "devDependencies": { "@types/jest": "^27.4.1", "@types/node": "16.11.26", "@types/react": "17.0.40", "@types/react-dom": "17.0.13", "@typescript-eslint/eslint-plugin": "5.15.0", "@typescript-eslint/parser": "5.15.0", "babel-core": "^6.26.3", "babel-runtime": "^6.26.0", "eslint": "8.11.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-prettier": "4.0.0", "eslint-plugin-react": "7.29.4", "jest": "^27.5.1", "prettier": "2.6.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-scripts": "5.0.0", "rollup": "^2.70.1", "rollup-plugin-typescript2": "^0.31.2", "ts-jest": "^27.1.4", "typescript": "4.6.2", "web-vitals": "2.1.4" }, "peerDependencies": { "react": ">=16.8.0" }, "files": [ "dist" ], "license": "MIT", "author": { "name": "Ayodele Abayomi", "email": "samabayomi301@gmail.com" }, "repository": { "type": "git", "url": "https://github.com/abayomi1196/react-creditcard-validator" }, "bugs": { "url": "https://github.com/abayomi1196/react-creditcard-validator/issues" }, "homepage": "https://codesandbox.io/s/react-creditcard-validator-2lcfz7", "keywords": [ "input-formatting", "payment-input", "input-validation", "react", "typescript" ] }