international-phone-validator
Version:
A comprehensive phone number validation and formatting library for international phone numbers
75 lines (74 loc) • 2.06 kB
JSON
{
"name": "international-phone-validator",
"version": "1.0.3",
"publishConfig": {
"@sierra-technologies:registry": "https://npm.pkg.github.com"
},
"description": "A comprehensive phone number validation and formatting library for international phone numbers",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist/",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rollup -c",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.js",
"lint:fix": "eslint src/**/*.js --fix",
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run lint",
"dev": "rollup -c -w",
"publish:github": "npm publish --registry=https://npm.pkg.github.com",
"publish:npm": "npm publish --registry=https://registry.npmjs.org",
"publish:all": "npm run publish:npm && npm run publish:github"
},
"keywords": [
"phone",
"validation",
"formatting",
"international",
"telecom",
"mobile",
"number",
"validator",
"country-codes",
"e164"
],
"author": {
"name": "Emmanuel Kamanda",
"email": "emmanuelkamanda1255@gmail.com",
"url": "https://github.com/Emmanuel1255"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Sierra-Technologies/international-phone-validator.git"
},
"bugs": {
"url": "https://github.com/Sierra-Technologies/international-phone-validator/issues"
},
"homepage": "https://github.com/Sierra-Technologies/international-phone-validator#readme",
"devDependencies": {
"@babel/core": "^7.22.0",
"@babel/preset-env": "^7.22.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"eslint": "^8.42.0",
"jest": "^29.5.0",
"rollup": "^3.25.0"
},
"engines": {
"node": ">=14.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}