From 0b7b6c4bedc864a2080ce0959b230e89bba64bc9 Mon Sep 17 00:00:00 2001 From: Leo Mendez Date: Sun, 12 Apr 2020 14:28:57 -0500 Subject: [PATCH] Add clean script to root package --- package.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/package.json b/package.json index 2348780603..7ec98d692f 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,7 @@ "start": "yarn workspace example-app start", "bundle": "yarn build && yarn workspace example-app bundle", "build": "lerna run build", - "clean": "yarn run clean:cli && yarn run clean:app && yarn run clean:core && yarn run clean:storybook && yarn clean:root", - "clean:root": "rimraf node_modules/", - "clean:cli":"rimraf packages/cli/dist/ packages/cli/node_modules/", - "clean:app":"rimraf packages/app/node_modules/", - "clean:core": "rimraf packages/core/dist packages/core/node_modules", - "clean:storybook":"rimraf packages/storybook/node_modules", + "clean": "lerna run clean", "test": "yarn build && lerna run test --since origin/master -- --coverage", "test:all": "yarn build && lerna run test -- --coverage", "lint": "lerna run lint --since origin/master --",