diff --git a/package.json b/package.json index 448066592..142f94a82 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "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}", + "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", @@ -44,7 +44,7 @@ "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 && rm -rf node_modules && npm run remove:c ", + "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",