UNPKG

spain-id

Version:

Spanish id documents validator (NIF, CIF, NIE)

59 lines (58 loc) 1.65 kB
{ "name": "spain-id", "version": "1.1.13", "description": "Spanish id documents validator (NIF, CIF, NIE)", "main": "./lib/cjs/index.cjs", "module": "./lib/esm/index.mjs", "types": "./lib/esm/index.d.ts", "exports": { ".": { "import": "./lib/esm/index.mjs", "require": "./lib/cjs/index.cjs", "types": "./lib/esm/index.d.ts" } }, "files": [ "lib/" ], "scripts": { "test": "jest --passWithNoTests --silent", "patch": "npm version patch", "tsc": "tsc -p tsconfig.json && mv ./lib/esm/index.js ./lib/esm/index.mjs && tsc -p tsconfig-cjs.json && mv ./lib/cjs/index.js ./lib/cjs/index.cjs", "copy-dts": "tee ./lib/esm/index.d.ts ./lib/cjs/index.d.ts < ./src/index.d.ts", "tdd": "jest --watchAll", "prepare": "npm run tsc && npm run copy-dts && npm run test && npm run patch" }, "repository": { "type": "git", "url": "git+https://github.com/coixinet/spain-id.git" }, "keywords": [ "spain", "id", "nif", "dni", "cif" ], "author": "Josep V. Monjo", "license": "MIT", "bugs": { "url": "https://github.com/coixinet/spain-id/issues" }, "homepage": "https://github.com/coixinet/spain-id#readme", "devDependencies": { "@babel/preset-env": "^7.13.15", "acorn": ">=8.2.1", "core-js": "^3.11.0", "eslint": "^7.25.0", "eslint-config-standard": "^16.0.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.3.1", "jest": "^26.6.3", "kind-of": ">=6.0.3", "minimist": ">=1.2.5", "serialize-javascript": ">=5.0.1", "typescript": "^5.9.2" } }