diff --git a/lerna.json b/lerna.json index b60067cebc..1857b1efb9 100644 --- a/lerna.json +++ b/lerna.json @@ -21,7 +21,6 @@ } }, "bootstrap": { - "npmClient": "yarn", "yarnClientArgs": [ "--no-yarn-lock", "--no-package-lock" diff --git a/package.json b/package.json index 8a660f8d8f..ceedc9b605 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,9 @@ "lib": "lerna exec --scope @uiw/react-layout -- tsbb build --target react", "lib:css": "lerna exec --scope @uiw/react-layout -- compile-less -d src -o lib/esm", "lib:watch": "lerna exec --scope @uiw/react-layout -- tsbb watch --target react", - "lib:build": "npm run lib && npm run cjs && npm run esm", + "lib:build": "npm run lib && npm run cjs && npm run esm && npm run lib:css", "//-----------": "//-----------", - "bootstrap": "lerna bootstrap", + "bootstrap": "lerna bootstrap --hoist", "type": "npm run t:cjs && npm run t:esm", "t:esm": "lerna exec --scope @uiw/* --scope uiw --ignore @uiw/doc -- tsbb types --outDir lib/esm --target ESNEXT", "t:cjs": "lerna exec --scope @uiw/* --scope uiw --ignore @uiw/doc -- tsbb types --outDir lib/cjs --target ESNEXT", @@ -25,7 +25,7 @@ "b:bundle:min": "lerna exec --scope uiw -- GENERATE_SOURCEMAP=false kkt build --bundle --no-checkRequiredFiles --mini --no-emptyDir", "doc": "npm run b:website && npm run b:doc", "build": "npm run b:uiw && npm run b:css && npm run type && npm run b:bundle && npm run b:bundle:min && npm run doc", - "test": "tsbb test", + "test": "tsbb test --env=jsdom", "coverage": "tsbb test --coverage", "version": "lerna version --no-changelog --skip-git && npm run b:doc", "publish": "npm run build && lerna publish from-package",