UNPKG

@fnando/cpf

Version:

Validate, generate and format CPF numbers

45 lines (44 loc) 1.4 kB
{ "name": "@fnando/cpf", "version": "1.0.2", "description": "Validate, generate and format CPF numbers", "main": "es/index.js", "module": "es/index.js", "types": "es/index.d.ts", "scripts": { "lint": "yarn eslint src", "test": "yarn jest", "js:dist": "tsc", "js:dist:web": "webpack --entry ./es/index.js --output ./web/cpf.min.js --mode production --target web --output-library-export var --output-library CPF --devtool source-map", "js:dist:node": "webpack --entry ./es/index.js --output ./commonjs/index.js --mode production --target node --output-library-target commonjs --devtool source-map", "dist": "rm -rf {es,commonjs,web} && yarn test && yarn js:dist && yarn js:dist:web && yarn js:dist:node" }, "repository": { "type": "git", "url": "https://github.com/fnando/cpf.git" }, "keywords": [ "cpf", "document" ], "author": "Nando Vieira <fnando.vieira@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/fnando/cpf/issues" }, "devDependencies": { "@babel/types": "*", "@fnando/codestyle": "*", "@fnando/eslint-config-codestyle": "*", "@types/jest": "*", "eslint": "*", "eslint-config-prettier": "*", "eslint-plugin-prettier": "*", "jest": "*", "jest-filename-transform": "*", "ts-jest": "*", "typescript": "*", "webpack": "*", "webpack-cli": "*" } }