@lacussoft/cnpj-gen
Version:
Utility function to generate valid CNPJ (Brazilian company ID).
63 lines (62 loc) • 1.7 kB
JSON
{
"name": "@lacussoft/cnpj-gen",
"version": "1.2.1",
"description": "Utility function to generate valid CNPJ (Brazilian company ID).",
"license": "MIT",
"author": {
"name": "Julio L. Muller",
"url": "https://github.com/juliolmuller"
},
"keywords": [
"cnpj",
"generate",
"generator",
"gerador",
"gerar",
"faker",
"fake",
"pt-br",
"br"
],
"repository": {
"type": "git",
"url": "git+https://github.com/juliolmuller/cnpj-utils-js.git"
},
"bugs": {
"url": "https://github.com/juliolmuller/cnpj-utils-js/issues"
},
"homepage": "https://github.com/juliolmuller/cnpj-utils-js/main/packages/cnpj-gen#readme",
"main": "build/index.cjs.js",
"types": "build/index.d.ts",
"scripts": {
"build": "rollup --config",
"lint": "eslint --fix src/ test/ rollup.config.mjs",
"test": "bun test --coverage --coverage-reporter=lcov --coverage-dir=test/__coverage__",
"prepublishOnly": "bun run test"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@lacussoft/cnpj-fmt": "workspace:*",
"deepmerge": "^4.3.1",
"num-only": "^1.2.1"
},
"devDependencies": {
"@babel/preset-env": "^7.26.9",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "~0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@types/deepmerge": "^2.2.3",
"@types/node": "^22.14.0",
"cnpj": "^5.0.0",
"cpf-check": "^3.0.0",
"rollup": "^4.39.0",
"rollup-plugin-delete": "^3.0.1",
"rollup-plugin-dts": "^6.2.1",
"rollup-plugin-esbuild": "^6.2.1",
"typescript": "^5.8.2"
}
}