diff --git a/README.md b/README.md index efc7c9e..7e7ef01 100644 --- a/README.md +++ b/README.md @@ -250,6 +250,12 @@ yarn test yarn start:example ``` +or + +``` +yarn dev +``` + And then visit http://localhost:8080 ## Build diff --git a/package.json b/package.json index 61668f5..fc6e271 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phone", - "version": "3.1.18", + "version": "3.1.19", "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", @@ -17,6 +17,7 @@ "lint": "eslint .", "build": "rimraf ./dist && tsc", "start:example": "yarn build && webpack serve --config ./example/webpack.config.js --progress", + "dev": "yarn start:example", "prepublishOnly": "yarn build", "fix:numbers": "ts-node -P scripts/add-new-rules/tsconfig.json scripts/add-new-rules" }, diff --git a/src/data/country_phone_data.ts b/src/data/country_phone_data.ts index 7f34d7f..f1cfb11 100644 --- a/src/data/country_phone_data.ts +++ b/src/data/country_phone_data.ts @@ -20,11 +20,11 @@ export default [ '661', '662', '667', '669', '678', '679', '680', '681', '682', '689', '701', '702', '703', '704', '706', '707', '708', '712', '713', '714', '715', '716', '717', '718', '719', '720', '724', '725', '726', '727', '730', '731', '732', '734', '737', '740', '743', '747', '752', '754', '757', '760', '762', '763', '764', '765', '769', '770', - '772', '773', '774', '775', '779', '781', '785', '786', '801', '802', '803', '804', '805', '806', '808', + '772', '773', '774', '775', '779', '781', '785', '786', '787', '801', '802', '803', '804', '805', '806', '808', '810', '812', '813', '814', '815', '816', '817', '818', '820', '828', '830', '831', '832', '835', '838', '840', '843', '845', '847', '848', '850', '854', '856', '857', '858', '859', '860', '862', '863', '864', '865', '870', '872', '878', '901', '903', '904', '906', '907', '908', '909', '910', '912', '913', '914', '915', '916', '917', - '918', '919', '920', '925', '927', '928', '929', '931', '934', '935', '936', '937', '938', '940', '941', '945', + '918', '919', '920', '925', '927', '928', '929', '931', '934', '935', '936', '937', '938', '939', '940', '941', '945', '947', '949', '951', '952', '954', '956', '957', '959', '970', '971', '972', '973', '975', '978', '979', '980', '984', '985', '986', '989', '888', '800', '833', '844', '855', '866', '877', '463', '279'], phone_number_lengths: [10]