-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
143 lines (141 loc) · 4.98 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"private": true,
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "node ./scripts/bootstrap.js",
"build": "father-build && webpack",
"changelog": "pro-changelog",
"createRelease": "node ./scripts/createRelease.js",
"deploy": "npm run site && gh-pages -d ./dist",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./packages && npm run lint:prettier",
"lint:prettier": "npm run prettier && git diff && prettier --version && prettier --check \"packages/**/**.{js,jsx,tsx,ts,less,md,json}\" --end-of-line auto",
"prettier": "prettier --write \"**/**.{js,jsx,tsx,ts,less,md,json}\"",
"release": "node ./scripts/release.js",
"test&release": "npm run test && node ./scripts/release.js",
"site": "dumi build",
"size": "npm run build && size-limit",
"start": "cross-env NODE_OPTIONS='--max-old-space-size=4096' dumi dev",
"sync:tnpm": "node -e 'require(\"./scripts/syncTNPM\")()'",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"test:update": "umi-test --updateSnapshot",
"tsc:duplicate": "tsc -p ./tests/tsconfig.duplicate.json",
"update:deps": "yarn upgrade-interactive --latest"
},
"browserslist": [
"last 2 versions",
"Firefox ESR",
"> 1%",
"ie >= 11"
],
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@size-limit/preset-big-lib": "^4.5.5",
"@testing-library/react": "^10.0.2",
"@testing-library/react-hooks": "^3.2.1",
"@types/classnames": "^2.2.7",
"@types/enzyme": "^3.10.3",
"@types/history": "^4.7.7",
"@types/jest": "^26.0.0",
"@types/lodash.isequal": "^4.5.5",
"@types/lodash.tonumber": "^4.0.3",
"@types/memoize-one": "^5.1.2",
"@types/node": "^14.0.26",
"@types/qs": "^6.9.4",
"@types/react": "^16.9.17",
"@types/react-copy-to-clipboard": "^4.3.0",
"@types/react-dom": "^16.9.1",
"@types/react-helmet": "^6.0.0",
"@types/react-intl": "^3.0.0",
"@types/react-responsive": "^8.0.1",
"@types/react-router-dom": "^5.1.0",
"@types/warning": "^3.0.0",
"@types/xhr-mock": "^2.0.0",
"@umijs/babel-preset-umi": "^3.0.14",
"@umijs/fabric": "^2.0.0",
"@umijs/plugin-analytics": "^0.2.2",
"@umijs/plugin-antd": "^0.9.0",
"@umijs/test": "^3.2.10",
"@umijs/test-utils": "^3.2.10",
"@umijs/utils": "^3.2.11",
"antd": "^4.8.5",
"babel-loader": "^8.1.0",
"babel-plugin-import": "^1.12.2",
"body-parser": "^1.18.2",
"chalk": "^4.1.0",
"cross-env": "^7.0.2",
"css-loader": "^3.4.2",
"dumi": "[email protected]+",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.4.3",
"eslint": "^7.2.0",
"father-build": "^1.18.1",
"gh-pages": "^3.1.0",
"github": "^9.2.0",
"glob": "^7.1.6",
"jest": "^26.2.2",
"jest-fetch-mock": "^3.0.3",
"jsdom": "^16.4.0",
"jsdom-global": "^3.0.2",
"lerna": "^3.20.2",
"lerna-changelog": "^1.0.1",
"less-loader": "^6.0.0",
"lint-staged": "^10.0.2",
"mini-css-extract-plugin": "^0.9.0",
"mockdate": "^3.0.2",
"moment": "^2.27.0",
"moment-timezone": "^0.5.31",
"np": "^6.1.0",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"pify": "^5.0.0",
"prettier": "^2.1.2",
"pretty-quick": "^3.0.1",
"pro-changelog": "^1.0.0",
"progress-bar-webpack-plugin": "^2.1.0",
"query-string": "^6.13.6",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-lazyload": "^3.0.0",
"react-markdown": "^4.3.0",
"react-test-renderer": "^16.9.0",
"size-limit": "^4.6.2",
"slash2": "^2.0.0",
"style-loader": "^1.1.3",
"stylelint": "^13.0.0",
"terser-webpack-plugin": "^3.0.2",
"typescript": "^4.0.0",
"umi": "^3.2.10",
"umi-request": "^1.3.5",
"umi-test": "^1.9.6",
"umi-types": "^0.5.11",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"write-pkg": "^4.0.0",
"xhr-mock": "^2.5.1",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "node scripts/verifyCommit.js"
},
"size-limit": [
{
"path": "packages/foo/dist/**/*.js",
"limit": "100 s",
"webpack": false,
"running": false
}
],
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
}
}