@lykmapipo/phone
Version:
Helper utilities for parsing and validate phone numbers
134 lines (133 loc) • 3.85 kB
JSON
{
"name": "@lykmapipo/phone",
"version": "0.7.16",
"description": "Helper utilities for parsing and validate phone numbers",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"clean": "rimraf lib dist es umd logs",
"prepare": "husky install",
"prebuild": "npm test && npm run clean",
"build": "rollup -c",
"lint": "eslint --fix --ext .js src/ test/ rollup.config.js",
"pretest": "npm run lint",
"test": "NODE_ENV=test nyc --reporter=html --reporter=text mocha --exit --timeout=8000 --require @babel/register test/**/*.spec.js",
"test:unit": "NODE_ENV=test npm run pretest && NODE_ENV=test mocha --exit --timeout=8000 --require @babel/register test/unit/**/*.spec.js",
"test:integration": "NODE_ENV=test npm run pretest && NODE_ENV=test mocha --exit --timeout=8000 --require @babel/register test/integration/**/*.spec.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs": "doxdox 'lib/**/*.js' -p package.json -l markdown -o DOCUMENTATION.md",
"cmt": "git add -A && git-cz",
"changelog": "changelog",
"chore:deps": "ncu -u && npm install --save",
"lint:config": "eslint --print-config rollup.config.js"
},
"keywords": [
"lykmapipo",
"phone",
"mobile",
"number",
"telephone",
"e164",
"national",
"international",
"rfc3966",
"libphonenumber",
"parse",
"validate"
],
"repository": {
"type": "git",
"url": "git+https://github.com/lykmapipo/phone.git"
},
"author": {
"name": "lykmapipo",
"email": "lallyelias87@gmail.com",
"url": "https://github.com/lykmapipo"
},
"contributors": [
{
"name": "lykmapipo",
"email": "lallyelias87@gmail.com",
"url": "https://github.com/lykmapipo"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/lykmapipo/phone/issues"
},
"homepage": "https://github.com/lykmapipo/phone#readme",
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/node": "^7.14.9",
"@babel/preset-env": "^7.15.0",
"@babel/register": "^7.14.5",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/travis-cli": "^13.1.0",
"@lykmapipo/test-helpers": "^0.6.20",
"chai": "^4.3.4",
"commitizen": "^4.2.4",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"dot-prop": "^6.0.1",
"doxdox": "^3.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jsdoc": "^36.0.6",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^3.4.0",
"generate-changelog": "^1.8.0",
"handlebars": "^4.7.7",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"lodash.template": "^4.5.0",
"minimist": "^1.2.5",
"mocha": "^9.0.3",
"nock": "^13.1.1",
"npm-check-updates": "^11.8.3",
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"rollup": "^2.56.1",
"shelljs": "^0.8.4",
"websocket-extensions": "^0.1.4"
},
"peerDependencies": {},
"dependencies": {
"@lykmapipo/common": ">=0.44.1",
"@lykmapipo/env": ">=0.17.36",
"google-libphonenumber": ">=3.2.22",
"lodash": ">=4.17.21"
},
"engines": {
"node": ">=14.5.0",
"npm": ">=6.14.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.js": [
"eslint --fix"
],
"*.{md,json,yml,html}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}