@ronaldarndt/nationalid
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -1,7 +0,7 @@ | ||
import cpf from './countries/brazil/cpf'; | ||
import ssn from './countries/us/ssn'; | ||
import brazil from './countries/brazil'; | ||
import us from './countries/us'; | ||
import { Document, DocumentCode } from './types/general'; | ||
import cpf from "./countries/brazil/cpf"; | ||
import ssn from "./countries/us/ssn"; | ||
import brazil from "./countries/brazil"; | ||
import us from "./countries/us"; | ||
import { Document, DocumentCode } from "./types/general"; | ||
declare function getDocumentFromCode(code: DocumentCode): Document; | ||
export { brazil, cpf, getDocumentFromCode, ssn, us }; |
@@ -5,7 +5,7 @@ { | ||
"type": "module", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Format and validate national identification numbers", | ||
"scripts": { | ||
"build": "npm version patch && bun build --target=node ./src/index.ts --outfile=dist/index.js && bun run build:declaration", | ||
"build:declaration": "tsc --emitDeclarationOnly --project tsconfig.types.json", | ||
"build": "npm version patch --no-git-tag-version && bun build --target=node ./src/index.ts --outfile=dist/index.js && bun run build:declaration", | ||
"build:declaration": "tspc --emitDeclarationOnly --project tsconfig.types.json", | ||
"postbuild": "rimraf tsconfig.types.tsbuildinfo" | ||
@@ -18,3 +18,5 @@ }, | ||
"rimraf": "^5.0.5", | ||
"typescript": "^5.4.5" | ||
"ts-patch": "^3.1.2", | ||
"typescript": "^5.4.5", | ||
"typescript-transform-paths": "^3.4.7" | ||
}, | ||
@@ -21,0 +23,0 @@ "peerDependencies": { |
5169
7