UNPKG

cpf-cnpj-formatter

Version:

A simple formatter for CPF and CNPJ numbers

63 lines 1.51 kB
{ "name": "cpf-cnpj-formatter", "version": "1.0.6", "description": "A simple formatter for CPF and CNPJ numbers", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" } }, "files": [ "dist", "README.md" ], "scripts": { "dev": "vite", "build": "tsc", "preview": "vite preview", "start": "vite", "lint": "eslint . --ext .ts,.tsx", "lint:fix": "eslint . --ext .ts,.tsx --fix", "prepublishOnly": "npm run build" }, "keywords": [ "cpf", "cnpj", "formatter", "brazil", "document" ], "author": "", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/betiol/cpf-cnpj-formatter.git" }, "peerDependencies": { "react": ">=16.8.0", "react-hook-form": ">=7.0.0" }, "devDependencies": { "react": "^18.2.0", "react-dom": "^18.2.0", "react-hook-form": "^7.49.2", "@vitejs/plugin-react": "^4.2.1", "vite": "^5.0.0", "typescript": "^5.0.0", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "eslint-plugin-react": "^7.33.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-config-prettier": "^9.0.0", "prettier": "^3.0.0" } }