UNPKG

phone-shape

Version:

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

65 lines (64 loc) 1.79 kB
{ "name": "phone-shape", "version": "1.0.1", "description": "With a given country and phone number, validate and format the phone number to E.164 standard", "main": "./dist/index.js", "types": "./dist/index.d.ts", "engines": { "node": ">=10" }, "directories": { "lib": "./src/lib" }, "scripts": { "test": "jest", "test:watch": "jest --watch", "test:update": "jest --updateSnapshot", "lint": "eslint .", "build": "rimraf ./dist && tsc", "start:example": "yarn build && webpack serve --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": "https://github.com/juandeivis1/phone" }, "bugs": { "url": "https://github.com/juandeivis1/phone/issues" }, "devDependencies": { "@babel/preset-env": "^7.15.0", "@types/jest": "^26.0.24", "@types/node": "^14.14.28", "@types/papaparse": "^5.2.6", "babel-cli": "^6.26.0", "babel-loader": "^8.2.2", "babel-minify-webpack-plugin": "^0.3.1", "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.7.0", "dotenv": "^10.0.0", "eslint": "^7.32.0", "eslint-config-aftership": "^7.0.0", "eslint-plugin-import": "^2.23.4", "idempotent-babel-polyfill": "^7.4.4", "jest": "^27.0.6", "lodash": "^4.17.21", "papaparse": "^5.3.1", "rimraf": "^3.0.2", "ts-jest": "^27.0.4", "ts-node": "^10.1.0", "twilio": "^3.66.1", "typescript": "^4.3.5", "webpack": "^5.48.0", "webpack-cli": "^4.7.2", "webpack-dev-server": "^3.11.2" }, "keywords": [ "phone", "e.164" ], "author": "AfterShip", "license": "MIT", "dependencies": {} }