-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
121 lines (121 loc) · 4.23 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
{
"name": "root",
"private": true,
"repository": "[email protected]:oceanbase/oceanbase-design.git",
"workspaces": [
"packages/*"
],
"packageManager": "[email protected]",
"scripts": {
"build": "pnpm --filter \"@oceanbase/**\" build",
"build:watch": "pnpm --filter \"@oceanbase/**\" build --watch",
"build:design": "pnpm --filter \"@oceanbase/design\" build",
"ci": "npm run tsc && npm run build && npm run lint && npm run test",
"deploy": "npm run site:build && npm run site:deploy",
"dev": "tsc --skipLibCheck packages/design/src/theme/*.ts --outDir ./.dumi/tmp/plugin-theme-less && cross-env DUMI_ENV=theme dumi dev",
"start": "npm run dev",
"prepare": "husky install && dumi setup",
"prepublishOnly": "npm run build",
"publish": "lerna publish",
"publish:from-package": "lerna publish from-package",
"site:build": "npm run build:design && dumi build",
"site:deploy": "gh-pages -d site",
"postpublish": "npm run sync:other-npm",
"sync:other-npm": "node -e 'require(\"./scripts/sync-cnpm-and-tnpm\")()'",
"test:prepare": "tsc --skipLibCheck packages/design/src/theme/default.ts --outDir packages/design/lib/theme",
"test": "npm run test:prepare && cross-env vitest",
"test:coverage": "npm run test:prepare && cross-env TEST_LOG=none vitest --coverage",
"test:update": "npm run test:prepare && cross-env vitest -u",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix --format=pretty",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,less,md,json}\"",
"tsc": "tsc --noEmit",
"tsc:clean": "tsc --build --clean",
"locale:remove-useless": "ts-node scripts/remove-useless-locale.ts"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint"
],
"*.{js,jsx,ts,tsx,less,md,json}": [
"prettier --write"
]
},
"devDependencies": {
"@ant-design/colors": "^7.1.0",
"@ant-design/cssinjs": "^1.21.0",
"@ant-design/icons": "^5.4.0",
"@babel/cli": "^7.24.8",
"@babel/preset-env": "^7.25.3",
"@chenshuai2144/less2cssinjs": "^1.0.7",
"@ctrl/tinycolor": "^4.1.0",
"@emotion/babel-preset-css-prop": "^11.12.0",
"@emotion/css": "^11.13.0",
"@emotion/react": "^11.13.0",
"@emotion/server": "^11.11.0",
"@qixian.cs/github-contributors-list": "^2.0.2",
"@rc-component/trigger": "^2.2.0",
"@stackblitz/sdk": "^1.11.0",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^14.3.1",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/lodash": "^4.17.7",
"@types/node": "^20.14.14",
"@types/react": "^18.3.3",
"@umijs/fabric": "^4.0.1",
"@umijs/test": "^4.3.11",
"@vercel/analytics": "^1.3.1",
"antd": "^5.20.0",
"antd-style": "^3.6.2",
"antd-token-previewer": "^2.0.8",
"babel-jest": "^29.7.0",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"cross-env": "^7.0.3",
"dayjs": "^1.11.12",
"dumi": "^2.4.7",
"eslint-plugin-jest": "^27.9.0",
"execa": "^5.1.1",
"father": "^4.4.6",
"fs-extra": "^11.2.0",
"gh-pages": "^6.1.1",
"glob": "^10.4.5",
"html2sketch": "^1.0.2",
"husky": "^9.1.4",
"identity-obj-proxy": "^3.0.0",
"isomorphic-fetch": "^3.0.0",
"jest-environment-jsdom": "^29.7.0",
"jsonml-to-react-element": "^1.1.11",
"jsonml.js": "^0.1.0",
"lerna": "^8.1.8",
"lint-staged": "^15.2.8",
"lodash": "^4.17.21",
"mockdate": "^3.0.5",
"prettier": "^3.3.3",
"prismjs": "^1.29.0",
"rc-checkbox": "^3.3.0",
"rc-drawer": "^7.2.0",
"rc-footer": "^0.6.8",
"rc-resize-observer": "^1.4.0",
"rc-segmented": "^2.4.1",
"rc-tabs": "^14.1.1",
"rc-util": "^5.43.0",
"react": "^18.3.1",
"react-color": "^2.19.3",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.3.1",
"react-fast-marquee": "^1.6.5",
"react-intl": "^6.6.8",
"react-router-dom": "^6.26.0",
"runscript": "^1.6.0",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"vanilla-jsoneditor": "^0.23.8",
"vitest": "^1.6.0",
"vitest-canvas-mock": "^0.3.3",
"vitest-fetch-mock": "^0.2.2",
"web-vitals": "^3.5.2"
}
}