-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
76 lines (76 loc) · 1.81 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
{
"name": "lean",
"version": "1.0.0",
"scripts": {
"start": "dumi dev",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"build": "father-build",
"deploy": "npm run docs:build && npm run docs:deploy",
"release": "npm run build && npm publish",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "umi-test",
"test:coverage": "umi-test --coverage"
},
"main": "lib/index.js",
"module": "es/index.js",
"unpkg": "dist/index.umd.min.js",
"typings": "lib/index.d.ts",
"files": [
"es",
"lib"
],
"sideEffects": [
".css",
".less",
"es/**/style/*",
"lib/**/style/*",
"src/**/style/**"
],
"author": {
"name": "jiangzhiguo"
},
"license": "MIT",
"gitHooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "devmoji -e --lint"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@babel/runtime": "^7.10.2",
"@types/react": "^16.14.2",
"classnames": "^2.2.6",
"react": "^16.12.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.9.0",
"@testing-library/react": "^10.2.1",
"@types/classnames": "^2.2.10",
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.0.5",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"devmoji": "^2.1.9",
"dumi": "^1.0.31",
"father-build": "^1.18.0",
"gh-pages": "^3.0.0",
"lint-staged": "^10.0.7",
"prettier": "^1.19.1",
"rollup-plugin-typescript-paths": "^1.2.2",
"vfile-message": "^2.0.4",
"yorkie": "^2.0.0"
},
"peerDependencies": {
"antd": "^4.3.3"
},
"resolutions": {
"@types/react": "^16.14.2"
}
}