Add clean script

This commit is contained in:
Leo Mendez
2020-04-08 14:30:28 -05:00
parent 3e1e356320
commit dc6dcbefac
+7
View File
@@ -8,6 +8,12 @@
"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",
"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 --",
@@ -32,6 +38,7 @@
"lerna": "^3.20.2",
"lint-staged": "^10.1.0",
"prettier": "^1.19.1",
"rimraf": "^3.0.2",
"typescript": "^3.7.5",
"zombie": "^6.1.4"
},