-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
70 lines (70 loc) · 1.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"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"
}
}