-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathpackage.json
118 lines (118 loc) · 3.4 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"license": "MIT",
"name": "antd-country-phone-input",
"version": "4.5.1",
"description": "Country phone input component as standard Ant.Design form item",
"author": "wangsijie <[email protected]>",
"homepage": "https://boyuai.github.io/antd-country-phone-input/",
"repository": "[email protected]:boyuai/antd-country-phone-input.git",
"keywords": [
"react",
"antd",
"ant-design",
"country",
"country-code",
"phone",
"phone-number",
"input",
"cpi",
"antd-cpi"
],
"main": "./dist/index.js",
"module": "./dist/index.m.js",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.m.js",
"require": "./dist/index.js"
},
"./dist/index.css": {
"import": "./dist/index.css",
"require": "./dist/index.css"
},
"./dist/lite": {
"import": "./dist/lite.m.js",
"require": "./dist/lite.js"
}
},
"files": [
"dist"
],
"engines": {
"node": ">=10"
},
"scripts": {
"build": "microbundle build src/index.ts src/lite.ts --format es,cjs --jsx React.createElement",
"start": "microbundle watch src/index.ts src/lite.ts --format es,cjs --jsx React.createElement",
"prepack": "yarn build",
"lint:es": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:style": "stylelint '**/*.{css,less,scss,sass}'",
"test": "yarn test:unit && yarn test:lint",
"test:lint": "yarn lint:es && yarn lint:style",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"docs:start": "cross-env APP_ROOT=dumi dumi dev",
"docs:build": "cross-env APP_ROOT=dumi dumi build",
"docs:deploy": "gh-pages --dist dumi/docs-dist",
"deploy": "yarn docs:build && yarn docs:deploy"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.{css,less,scss,sass}": [
"stylelint --fix"
]
},
"peerDependencies": {
"antd": "4.x",
"rc-select": "^12.1.13 || 13.x || 14.x",
"react": ">= 16.8.0 || 17.x || 18.x",
"world_countries_lists": "^2.1.0"
},
"devDependencies": {
"@testing-library/dom": "~7.29.4",
"@testing-library/jest-dom": "~5.11.9",
"@testing-library/react": "~11.2.3",
"@testing-library/user-event": "~12.6.0",
"@types/jest": "~26.0.20",
"@types/node": "~14.14.21",
"@types/react": "~17.0.0",
"@types/react-dom": "~17.0.0",
"@typescript-eslint/eslint-plugin": "~4.0.0",
"@typescript-eslint/parser": "~4.0.0",
"antd": "^4.13.1",
"babel-eslint": "~10.1.0",
"cross-env": "~7.0.3",
"dumi": "1.1.16",
"eslint": "~7.11.0",
"eslint-config-prettier": "~7.1.0",
"eslint-config-react-app": "~6.0.0",
"eslint-plugin-flowtype": "~5.2.0",
"eslint-plugin-import": "~2.22.0",
"eslint-plugin-jsx-a11y": "~6.3.1",
"eslint-plugin-prettier": "~3.3.1",
"eslint-plugin-react": "~7.20.3",
"eslint-plugin-react-hooks": "~4.0.8",
"gh-pages": "^3.1.0",
"husky": "~4.3.8",
"less": "^4.1.1",
"lint-staged": "~10.5.3",
"microbundle": "~0.13.0",
"prettier": "~2.2.1",
"rc-select": "^12.1.13",
"react": "~17.0.1",
"react-dom": "~17.0.1",
"react-scripts": "~4.0.1",
"stylelint": "~13.8.0",
"stylelint-config-prettier": "~8.0.2",
"stylelint-prettier": "~1.1.2",
"typescript": "~4.1.3",
"umi-plugin-hire": "^1.0.3"
}
}