UNPKG

is-chinese-phone-number

Version:

中国电话号码验证函数。支持验证手机号码、座机号码。

71 lines (70 loc) 1.74 kB
{ "name": "is-chinese-phone-number", "version": "0.1.9", "description": "中国电话号码验证函数。支持验证手机号码、座机号码。", "license": "MIT", "main": "lib/is-chinese-phone-number.cjs.js", "module": "lib/is-chinese-phone-number.es.js", "unpkg": "lib/is-chinese-phone-number.min.js", "jsdelivr": "lib/is-chinese-phone-number.min.js", "types": "lib/index.d.ts", "homepage": "https://github.com/fjc0k/is-chinese-phone-number", "author": { "name": "Jay Fong", "email": "fjc0kb@gmail.com", "url": "https://github.com/fjc0k" }, "repository": { "type": "git", "url": "git@github.com:fjc0k/is-chinese-phone-number.git" }, "bugs": { "url": "https://github.com/fjc0k/is-chinese-phone-number/issues" }, "keywords": [ "chinese", "landline", "mobile", "phone", "number" ], "files": [ "lib" ], "scripts": { "test": "jest --coverage", "build": "bili", "release": "standard-version -a", "postrelease": "git push --follow-tags origin master && npm publish" }, "standard-version": { "scripts": { "postbump": "yarn build && git add -A" } }, "jest": { "transform": { "^.+\\.ts$": "ts-jest" }, "collectCoverageFrom": [ "<rootDir>/src/**/*.ts" ], "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "js", "json" ] }, "devDependencies": { "@types/jest": "^23.3.9", "bili": "^3.3.0", "codecov": "^3.0.4", "jest": "^23.6.0", "rollup-plugin-typescript2": "^0.17.2", "standard-version": "^4.4.0", "ts-jest": "^23.10.4", "tslint": "^5.11.0", "typescript": "^3.1.6" } }