forked from ant-design/pro-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) Β· 5.35 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"private": true,
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "node ./scripts/bootstrap.js",
"build": "npm run version && npm run build-lib && webpack && node ./scripts/gen_less_entry.js",
"build-lib": "cross-env BUILD_TYPE=lib father-build && cross-env BUILD_TYPE=es father-build",
"changelog": "node ./scripts/changelogs.js",
"check-deps": "node ./scripts/checkDeps.js",
"checkPublish": "node ./scripts/checkPublish.js",
"createRelease": "node ./scripts/createRelease.js",
"deploy": "cross-env SITE_DEPLOY='TRUE' npm run site && gh-pages -d ./dist",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix --format=pretty ./packages && npm run lint:prettier && npm run check-deps",
"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}\" --loglevel warn",
"release": "npm run test && node ./scripts/release.js",
"site": "node ./scripts/preDeploy && cross-env SITE_DEPLOY='TRUE' dumi build",
"start": "npm run version && dumi dev",
"sync:tnpm": "node -e 'require(\"./scripts/syncTNPM\")()'",
"test": "npm run version && jest",
"test:coverage": "npm run version && jest --coverage",
"test:update": "pnpm run version && jest --updateSnapshot",
"tsc": "tsc --noEmit",
"tsc:duplicate": "tsc -p ./tests/tsconfig.duplicate.json",
"update:deps": "yarn upgrade-interactive --latest",
"webpack": "npm run version && webpack",
"version": "node ./scripts/gen_version.js"
},
"browserslist": [
"last 2 versions",
"Firefox ESR",
"> 1%",
"ie >= 11"
],
"resolutions": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"prettier": "2.x",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"typescript": "4.x"
},
"dependencies": {
"prettier-plugin-packagejson": "^2.2.18"
},
"devDependencies": {
"@ant-design/icons": "^4.6.2",
"@babel/core": "^7.16.0",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.8.3",
"@cfaester/enzyme-adapter-react-18": "^0.5.1",
"@octokit/core": "^3.2.5",
"@octokit/rest": "^18.12.0",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^13.0.0",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/classnames": "^2.2.7",
"@types/enzyme": "^3.10.3",
"@types/history": "^4.7.7",
"@types/jest": "^27.0.3",
"@types/lodash.merge": "^4.6.7",
"@types/memoize-one": "^5.1.2",
"@types/mockjs": "^1.0.3",
"@types/node": "^14.0.26",
"@types/react-helmet": "^6.0.0",
"@types/react-intl": "^3.0.0",
"@types/react-responsive": "^8.0.1",
"@types/shallowequal": "^1.1.1",
"@types/warning": "^3.0.0",
"@types/xhr-mock": "^2.0.0",
"@umijs/babel-preset-umi": "^3.0.14",
"@umijs/doctor": "^0.1.0",
"@umijs/fabric": "^2.6.2",
"@umijs/plugin-analytics": "^0.2.2",
"@umijs/plugin-antd": "^0.9.0",
"@umijs/plugin-esbuild": "^1.1.0",
"@umijs/test": "^3.2.10",
"@umijs/test-utils": "^3.2.10",
"@umijs/utils": "^3.2.11",
"antd": "^4.20.7",
"babel-jest": "^27.3.1",
"babel-loader": "^8.2.2",
"babel-plugin-import": "^1.12.2",
"babel-types": "^6.26.0",
"body-parser": "^1.18.2",
"chalk": "^4.1.0",
"cheerio": "^1.0.0-rc.12",
"cross-env": "^7.0.2",
"css-loader": "^5.0.2",
"css-minimizer-webpack-plugin": "^1.2.0",
"dumi": "1.1.41-rc.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.4.3",
"eslint": "^7.2.0",
"express": "^4.18.1",
"father-build": "^1.18.1",
"gh-pages": "^3.1.0",
"glob": "^7.1.6",
"identity-obj-proxy": "^3.0.0",
"inquirer": "^8.0.0",
"jest": "^27.3.1",
"jest-canvas-mock": "^2.3.1",
"jest-fetch-mock": "^3.0.3",
"jsdom": "^19.0.0",
"lerna": "^3.20.2",
"lerna-changelog": "^1.0.1",
"less-loader": "^8.0.0",
"lint-staged": "^10.0.2",
"mini-css-extract-plugin": "^1.3.8",
"mockdate": "^3.0.2",
"mockjs": "^1.1.0",
"moment": "^2.27.0",
"moment-timezone": "^0.5.31",
"np": "^6.1.0",
"npm-run-all": "^4.1.5",
"octokit": "^1.7.1",
"pify": "^5.0.0",
"prettier": "^2.2.1",
"prettier-plugin-organize-imports": "^2.3.4",
"prettier-plugin-packagejson": "^2.2.18",
"pretty-quick": "^3.0.1",
"progress-bar-webpack-plugin": "^2.1.0",
"puppeteer": "^15.3.0",
"query-string": "^6.13.6",
"rc-resize-observer": "^1.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-helmet-async": "^1.0.9",
"react-markdown": "^4.3.0",
"react-sortable-hoc": "^2.0.0",
"react-test-renderer": "^18.0.0",
"slash2": "^2.0.0",
"style-loader": "^2.0.0",
"stylelint": "^13.0.0",
"typescript": "^4.5",
"typescript-transform-paths": "^3.3.1",
"umi": "^3.4.24",
"umi-request": "^1.3.5",
"webpack": "^5.38.1",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.7.0",
"write-pkg": "^4.0.0",
"xhr-mock": "^2.5.1",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "fabric verify-commit"
}
}