52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
|
{
|
||
|
"name": "brazilian-doc-validator",
|
||
|
"version": "1.0.5",
|
||
|
"description": "Validator for common brazilian patterns, such as cpf and cnpj validations. It is a npm package to be used in javascript applications",
|
||
|
"main": "index.js",
|
||
|
"scripts": {
|
||
|
"prepare": "npm run build",
|
||
|
"start": "tsc -b && node ./dist/index.js",
|
||
|
"build": "tsc -b",
|
||
|
"eslint": "eslint src/**/*.ts tests/**/*.ts",
|
||
|
"eslint-fix": "eslint --fix src/**/*.ts tests/**/*.ts",
|
||
|
"test": "jest --coverage"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/will-nakagawa/brazilian-doc-validator.git"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"cpf",
|
||
|
"cnpj",
|
||
|
"validator",
|
||
|
"mask"
|
||
|
],
|
||
|
"author": "William Nakagawa",
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/will-nakagawa/brazilian-doc-validator/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/will-nakagawa/brazilian-doc-validator#readme",
|
||
|
"devDependencies": {
|
||
|
"@babel/preset-env": "^7.16.8",
|
||
|
"@babel/preset-typescript": "^7.16.7",
|
||
|
"@types/jest": "^27.4.0",
|
||
|
"@typescript-eslint/eslint-plugin": "^5.9.1",
|
||
|
"@typescript-eslint/parser": "^5.9.1",
|
||
|
"eslint": "^8.7.0",
|
||
|
"eslint-config-google": "^0.14.0",
|
||
|
"jest": "^27.4.7"
|
||
|
},
|
||
|
"jest": {
|
||
|
"verbose": true,
|
||
|
"testPathIgnorePatterns": [
|
||
|
"src/*",
|
||
|
"dist/*"
|
||
|
],
|
||
|
"coverageDirectory": "coverage"
|
||
|
},
|
||
|
"directories": {
|
||
|
"test": "tests"
|
||
|
}
|
||
|
}
|