@devmehq/phone-number-validator-js
Version:
Verify phone number, validate format, checking carrier name, geo and timezone infos.
105 lines (104 loc) • 2.99 kB
JSON
{
"name": "@devmehq/phone-number-validator-js",
"version": "1.6.0",
"description": "Verify phone number, validate format, checking carrier name, geo and timezone infos.",
"keywords": [
"telephone",
"phone",
"number",
"geo",
"geocode",
"location",
"carrier",
"timezone",
"timezones",
"international",
"libphonenumber"
],
"homepage": "https://github.com/devmehq/phone-number-validator-js#readme",
"bugs": {
"url": "https://github.com/devmehq/phone-number-validator-js/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/devmehq/phone-number-validator-js.git"
},
"license": "BSL 1.1",
"author": "DEV.ME <support@dev.me> (https://dev.me)",
"exports": {
".": {
"import": "./lib/index.es.js",
"require": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./serverless": {
"import": "./lib/serverless.esm.js",
"require": "./lib/serverless.cjs.js",
"types": "./lib/index.serverless.d.ts"
}
},
"main": "lib/index.js",
"module": "lib/index.es.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"resources"
],
"scripts": {
"build": "rm -rf lib && rollup -c rollup.config.cjs && yarn build:types",
"build:types": "tsc --emitDeclarationOnly",
"check": "biome check .",
"format": "biome format --write .",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"prepare": "husky",
"preparemetadata": "rm -rf resources && node .scripts/prepare.js && rm -rf resources/libphonenumber",
"prepublishOnly": "yarn build",
"release": "semantic-release",
"release:dry": "semantic-release --dry-run",
"test": "jest",
"watch": "rm -rf lib && rollup -cw rollup.config.cjs"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"biome check --write --no-errors-on-unmatched",
"biome format --write --no-errors-on-unmatched"
],
"*.{json,md,yml,yaml}": [
"biome format --write --no-errors-on-unmatched"
]
},
"dependencies": {
"bson": "^6.10.4",
"libphonenumber-js": "^1.12.15",
"tiny-lru": "^11.4.5"
},
"devDependencies": {
"@biomejs/biome": "^2.2.2",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/bson": "^4.2.4",
"@types/jest": "^30.0.0",
"@types/node": "^24.3.0",
"@types/shelljs": "^0.8.17",
"esbuild": "^0.25.9",
"husky": "^9.1.7",
"jest": "^30.1.3",
"lint-staged": "^16.1.6",
"prettier": "^3.6.2",
"rollup": "^4.50.0",
"rollup-plugin-esbuild": "^6.2.1",
"shelljs": "^0.10.0",
"ts-jest": "^29.4.1",
"tslib": "^2.8.1",
"typescript": "^5.9.2"
},
"packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
}