UNPKG

verifiera

Version:

A JavaScript library to perform common operations on Personal Identification Numbers (Social Security Numbers), like: Validation, censoring the individual digits, calculating age and detecting gender.

124 lines (123 loc) 3.39 kB
{ "name": "verifiera", "version": "1.3.0", "description": "A JavaScript library to perform common operations on Personal Identification Numbers (Social Security Numbers), like: Validation, censoring the individual digits, calculating age and detecting gender.", "browser": "dist/verifiera.js", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "files": [ "dist" ], "scripts": { "build": "rollup -c", "build:watch": "npm run build -- --watch", "coverage": "nyc npm run test -- --reporter=progress", "coverage:report": "nyc --reporter=html npm run test", "depcheck": "depcheck --ignores=eslint-plugin-html,@typescript-eslint/eslint-plugin,@typescript-eslint/parser", "lint:js": "standard", "lint:js:fix": "npm run lint:js -- --fix", "lint:ht": "standard --plugin html '**/*.html'", "lint:ht:fix": "npm run lint:ht -- --fix", "lint:md": "standard-markdown *.md", "lint:md:fix": "npm run lint:md -- --fix", "lint:ts": "standardx src/**/*.ts", "lint:ts:fix": "npm run lint:ts -- --fix", "test": "mocha src/**/*.test.ts", "test:watch": "npm run test -- --watch", "ts:check": "tsc --noEmit --strict --noImplicitAny --strictFunctionTypes", "preversion": "npm run ts:check && npm run lint:ts && npm test && npm outdated && npm run depcheck", "version": "npm run build && git add -A dist", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+ssh://git@gitlab.com/MiladK/verifiera.js.git" }, "author": { "name": "Milad Kawas Cale", "email": "miladkaleh@gmail.com" }, "license": "MIT", "bugs": { "url": "https://gitlab.com/MiladK/verifiera.js/issues" }, "homepage": "https://gitlab.com/MiladK/verifiera.js#readme", "devDependencies": { "@types/chai": "^4.2.15", "@types/mocha": "^8.2.1", "@typescript-eslint/eslint-plugin": "^4.15.1", "@typescript-eslint/parser": "^4.15.1", "chai": "^4.3.0", "depcheck": "^1.4.0", "eslint-plugin-html": "^6.1.1", "mocha": "^8.3.0", "nyc": "^15.1.0", "rollup": "^2.2.0", "rollup-plugin-typescript2": "^0.26.0", "rollup-plugin-uglify": "^6.0.4", "source-map-support": "^0.5.19", "standard": "^16.0.3", "standard-markdown": "^6.0.0", "standardx": "^7.0.0", "ts-node": "^9.1.1", "typescript": "^4.1.5" }, "standard": { "ignore": [ "/dist/" ] }, "standardx": { "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint/eslint-plugin" ] }, "eslintConfig": { "rules": { "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": "error" } }, "keywords": [ "verifification", "perosnal", "identification", "number", "CPR-Nummer", "Henkilötunnus", "Personbeteckning", "Burgerservicenummer", "Fødselsnummer", "D-nummer", "PESEL", "Personnummer", "Samordningsnummer", "denmark", "finland", "netherlands", "norway", "poland", "sweden" ], "contributors": [ { "name": "Milad Kawas Cale", "email": "miladkaleh@gmail.com" } ], "nyc": { "extension": [ ".ts" ], "include": [ "src" ], "exclude": [ "src/*.test.ts" ], "all": true } }