Add clean script to root package

This commit is contained in:
Leo Mendez
2020-04-12 14:28:57 -05:00
parent 8015b55a0f
commit 0b7b6c4bed
+1 -6
View File
@@ -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 --",