UNPKG

cpf-cnpj-validator

Version:
65 lines (64 loc) 1.59 kB
{ "name": "cpf-cnpj-validator", "version": "1.0.3", "description": "Valida e formata strings de CPF ou CNPJ.", "author": "Carvalho, Vinicius Luiz <carvalho.viniciusluiz@gmail.com>", "license": "MIT", "main": "dist/cpf-cnpj-validator.cjs.js", "types": "types/index.d.ts", "module": "dist/cpf-cnpj-validator.es.js", "scripts": { "build": "bili src/index.ts", "test": "ts-node jest.startup.ts --detectOpenHandles --forceExit --no-cache", "pretest": "npm run build", "prepublishOnly": "npm run test" }, "files": [ "dist/", "types/" ], "jest": { "testEnvironment": "node", "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] }, "repository": { "type": "git", "url": "git+https://github.com/carvalhoviniciusluiz/cpf-cnpj-validator.git" }, "bugs": { "url": "https://github.com/carvalhoviniciusluiz/cpf-cnpj-validator/issues" }, "homepage": "https://github.com/carvalhoviniciusluiz/cpf-cnpj-validator#readme", "dependencies": { "@hapi/joi": "^17.1.0" }, "devDependencies": { "@types/hapi__joi": "^16.0.11", "@types/jest": "^23.3.14", "bili": "^3.4.2", "jest": "^23.6.0", "jest-cli": "^23.6.0", "rollup-plugin-typescript2": "^0.17.2", "ts-jest": "^23.10.5", "ts-node": "^7.0.1", "typescript": "^3.5.3" }, "keywords": [ "node", "joi", "cpf", "cnpj", "validator" ] }