UNPKG

@foerster-technologies/phonenumbers

Version:

With a given country and phone number, validate and format the phone number to E.164 standard

65 lines (64 loc) 1.9 kB
{ "name": "@foerster-technologies/phonenumbers", "version": "1.0.2", "description": "With a given country and phone number, validate and format the phone number to E.164 standard", "main": "./dist/index.js", "engines": { "node": ">=6.10.0" }, "directories": { "example": "example" }, "scripts": { "test": "jest && codecov", "test:watch": "jest --watch", "test:update": "jest --updateSnapshot", "lint": "eslint .", "build": "webpack --hide-modules --progress", "start:example": "yarn build && webpack-dev-server --config ./example/webpack.config.js --progress", "prepublishOnly": "yarn build", "fix:numbers": "ts-node -P scripts/add-new-rules/tsconfig.json scripts/add-new-rules" }, "repository": { "type": "git", "url": "git+https://github.com/foerster-technologies/phone.git" }, "bugs": { "url": "https://github.com/foerster-technologies/phone/issues" }, "devDependencies": { "@types/node": "^14.0.26", "babel-cli": "^6.26.0", "babel-loader": "^7.1.5", "babel-minify-webpack-plugin": "^0.3.1", "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.7.0", "codecov": "^3.7.2", "dotenv": "^8.2.0", "eslint": "^6.8.0", "eslint-config-aftership": "^5.1.0", "eslint-plugin-import": "^2.22.0", "idempotent-babel-polyfill": "^7.4.4", "jest": "^25.5.4", "lodash": "^4.17.19", "ts-node": "^8.10.2", "twilio": "^3.48.1", "typescript": "^3.9.7", "webpack": "^4.44.0", "webpack-cli": "^3.3.12", "webpack-dev-server": "^3.11.0", "webpack-sources": "^1.4.3" }, "keywords": [ "phone", "e.164" ], "author": "foerster-technologies", "license": "MIT", "jest": { "coverageDirectory": "./coverage/", "collectCoverage": true }, "homepage": "https://github.com/foerster-technologies/phonenumbers#readme", "dependencies": {} }