-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
91 lines (91 loc) · 5 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
{
"name": "antdp-project",
"private": true,
"description": "Ant Design Project",
"author": "jaywcjlove",
"license": "MIT",
"scripts": {
"website:install": "npm install --scope @example/website --hoist",
"start:antdp-base": "lerna exec --scope @example/antdp-base -- npm run start",
"start:website": "lerna exec --scope @example/website -- npm run start",
"start:basic": "lerna exec --scope @example/basic npm run start",
"build:antdp-base": "lerna exec --scope @example/antdp-base -- npm run build",
"build:website": "lerna exec --scope @example/website -- npm run build",
"build": "lerna exec --scope @antdp/* --ignore @antdp/dependencies -- tsbb build --use-babel src/*.{js,ts,tsx,jsx} && npm run css:build",
"umiinstall": "lerna exec --scope @example/antdp-base --scope @example/basic -- npm run umiinstall",
"⬇️⬇️⬇️⬇️⬇️ install ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ install::package ▼▼▼▼▼",
"hoist": "npm install --hoist",
"install:pkg": "npm install --scope @antdp/* --hoist",
"install:example": "npm install --scope @example/* --hoist",
"⬆️⬆️⬆️⬆️⬆️ install ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ install::package ▲▲▲▲▲",
"⬇️⬇️⬇️⬇️⬇️ watch::package ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ watch::package ▼▼▼▼▼",
"watch": "lerna exec --scope @antdp/* --ignore @antdp/dependencies -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:antdp-edit-table": "lerna exec --scope @antdp/edit-table -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:antdp-fuzzy-query": "lerna exec --scope @antdp/fuzzy-query -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:antdp-ui": "lerna exec --scope @antdp/antdp-ui -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:authorized": "lerna exec --scope @antdp/authorized -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:basic-layouts": "lerna exec --scope @antdp/basic-layouts -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:config": "lerna exec --scope @antdp/config -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:document-title": "lerna exec --scope @antdp/document-title -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:fullscreen": "lerna exec --scope @antdp/fullscreen -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:icons": "lerna exec --scope @antdp/icons -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:layout-tabs": "lerna exec --scope @antdp/layout-tabs -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:page-loading": "lerna exec --scope @antdp/page-loading -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:user-login": "lerna exec --scope @antdp/user-login -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:hooks": "lerna exec --scope @antdp/hooks -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"watch:request": "lerna exec --scope @antdp/request -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}",
"⬆️⬆️⬆️⬆️⬆️ watch::package ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ watch::package ▲▲▲▲▲",
"css:build": "lerna exec --scope @antdp/* -- compile-less -d src -o esm",
"css:watch": "lerna exec --scope @antdp/* -- compile-less -d src -o esm --watch",
"----": "----",
"prepare": "husky",
"build:js": "node ./script/copy",
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"publish": "lerna publish from-package",
"start": "lerna exec --scope @example/antdp-base npm run start",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"clean": "lerna clean --yes && npm run remove && rm -rf ./package-lock.json && npm run remove:c && rm -rf node_modules",
"remove": " lerna exec --scope @antdp/* --scope @example/* -- rm -rf package-lock.json",
"remove:c": "rm -rf package-lock.json && npm run remove:yarn && npm run remove:lib && npm run remove:esm",
"remove:yarn": "lerna exec --scope @antdp/* --scope @example/* -- rm -rf yarn.lock",
"remove:lib": "lerna exec --scope @antdp/* -- rm -rf ./lib",
"remove:esm": "lerna exec --scope @antdp/* -- rm -rf ./esm",
"tsbb": "tsbb",
"lerna": "lerna"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
]
},
"workspaces": {
"packages": [
"examples/*",
"packages/*"
]
},
"overrides": {
"react-dom": "^18.2.0",
"react": "^18.2.0",
"react-refresh": "^0.14.0",
"antd": "5.6.1"
},
"resolutions": {
"react-dom": "^18.2.0",
"react": "^18.2.0",
"react-refresh": "^0.14.0",
"antd": "5.6.1"
},
"dependencies": {
"compile-less-cli": "1.9.1",
"husky": "^9.0.11",
"jest-environment-jsdom": "29.5.0",
"lerna": "^7.0.0",
"lint-staged": "~15.2.0",
"prettier": "3.0.3",
"tsbb": "^4.1.0",
"recursive-readdir-files": "2.3.1",
"@babel/core": "~7.21.3",
"@babel/preset-typescript": "~7.21.0"
}
}