UNPKG

@vn-utils/phone-validate

Version:

A library to validate Vietnamese phone number

72 lines (71 loc) 2.02 kB
{ "name": "@vn-utils/phone-validate", "repository": { "type": "git", "url": "git+https://github.com/lehuygiang28/phone-validate.git" }, "version": "0.0.1-rc.7", "description": "A library to validate Vietnamese phone number", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib" ], "scripts": { "build": "rimraf ./lib && webpack && tsc", "lib": "rimraf ./lib && tsc", "bundle": "rimraf ./lib && webpack", "prepare": "npm run build", "test": "jest", "test:cov": "jest --coverage", "release": "npm version patch && git push --follow-tags", "lint": "eslint .", "lint:fix": "eslint . --fix", "prettier": "prettier --check .", "prettier:fix": "prettier --write ." }, "typesVersions": { "*": { "/": [ "lib/index.d.js" ], "types": [ "lib/types.d.js" ], "regex": [ "lib/regex.d.js" ] } }, "keywords": [ "phone", "vn-phone", "viettel", "vietnam", "phone-validate", "vnphone" ], "author": "lehuygiang28 <lehuygiang28@gmail.com>", "license": "MIT", "devDependencies": { "@babel/cli": "^7.24.6", "@babel/core": "^7.24.6", "@babel/preset-env": "^7.24.6", "@types/jest": "^29.5.12", "@types/node": "^20.12.12", "@typescript-eslint/eslint-plugin": "^7.10.0", "@typescript-eslint/parser": "^7.10.0", "babel-loader": "^9.1.3", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "prettier": "^3.2.5", "rimraf": "^5.0.7", "ts-jest": "^29.1.3", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "typescript": "^5.4.5", "webpack": "^5.91.0", "webpack-cli": "^5.1.4" } }