UNPKG

react-card-brand

Version:

> A zero-dependency React Hook to show and get the brand from a card type.

53 lines (52 loc) 1.15 kB
{ "name": "react-card-brand", "version": "0.1.6", "author": { "name": "Javier Diaz Chamorro", "email": "hey@coderdiaz.dev" }, "scripts": { "start": "tsc -w", "build": "rimraf lib && yarn lint && tsc", "prepare": "yarn build", "format": "prettier --write \"src/**/*.ts\" \"lib/**/*.js\"", "lint": "tslint -p tsconfig.json" }, "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib/**/*" ], "repository": { "type": "git", "url": "git+https://github.com/coderdiaz/react-card-brand.git" }, "bugs": { "url": "https://github.com/coderdiaz/react-card-brand/issues" }, "devDependencies": { "@types/react": "^18.2.15", "prettier": "^3.0.0", "rimraf": "^5.0.1", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^5.1.6" }, "peerDependencies": { "react": "^16.12.0", "react-dom": "^16.12.0" }, "keywords": [ "react", "card", "payment card", "credit card", "debit card", "card identifier", "render card brand", "card brand", "creditcard", "validation" ], "license": "MIT" }