UNPKG

ph-id-validator

Version:
74 lines (73 loc) 1.91 kB
{ "name": "ph-id-validator", "version": "1.1.1", "description": "Identification number validation for PH ids", "main": "dist/ph-id-validator.cjs.js", "module": "dist/ph-id-validator.esm.js", "types": "dist/index.d.ts", "engines": { "node": ">=10.18", "npm": ">=6", "yarn": ">=1" }, "scripts": { "build": "kcd-scripts build --bundle --environment BUILD_NAME:phIdValidator", "lint": "kcd-scripts lint", "setup": "npm install && npm run validate -s", "test": "kcd-scripts test", "test:all": "kcd-scripts test --no-watch", "test:update": "npm test -- --updateSnapshot --coverage", "typecheck": "kcd-scripts typecheck", "format": "prettier --write --ignore-unknown .", "commitlint": "commitlint -E HUSKY_GIT_PARAMS", "lint:staged": "lint-staged", "validate": "kcd-scripts validate" }, "files": [ "dist" ], "keywords": [ "validator", "id", "nodejs" ], "author": "Janno Tabamo <jannotabamo@gmail.com> (https://resume.jannomeister.com)", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.7", "validator": "^13.5.2" }, "devDependencies": { "@commitlint/cli": "^12.0.0", "@commitlint/config-conventional": "^12.0.0", "@types/validator": "^13.1.3", "kcd-scripts": "^7.7.0", "lint-staged": "^10.5.4", "prettier": "2.2.1", "typescript": "^4.2.2" }, "lint-staged": { "*/*.js": [ "npm run format", "npm run lint" ] }, "eslintConfig": { "extends": [ "./node_modules/kcd-scripts/eslint.js" ] }, "eslintIgnore": [ "node_modules", "coverage", "dist" ], "repository": { "type": "git", "url": "https://github.com/jannomeister/ph-id-validator" }, "bugs": { "url": "https://github.com/jannomeister/ph-id-validator/issues" }, "homepage": "https://github.com/jannomeister/ph-id-validator#readme" }