UNPKG

pt-id-validator

Version:

Library to perform validation of Portuguese ID documents

46 lines (45 loc) 1.2 kB
{ "name": "pt-id-validator", "version": "2.0.1", "description": "Library to perform validation of Portuguese ID documents", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib/**/*" ], "scripts": { "build": "tsc", "test": "jest", "format": "prettier --write \"src/**/*.ts\"", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/AfonsoFGarcia/PT-ID-Validator.git" }, "keywords": [ "validator", "portugal", "id" ], "author": "Afonso F. Garcia", "license": "MIT", "bugs": { "url": "https://github.com/AfonsoFGarcia/PT-ID-Validator/issues" }, "homepage": "https://github.com/AfonsoFGarcia/PT-ID-Validator#readme", "devDependencies": { "@types/jest": "^26.0.22", "jest": "^26.6.3", "prettier": "^2.2.1", "ts-jest": "^26.5.5", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.2.4" } }