From 7443f9e1c223da81a8e9085ea8a1914b7a686b2a Mon Sep 17 00:00:00 2001 From: Kai Cataldo Date: Wed, 19 Oct 2016 07:58:35 -0400 Subject: [PATCH] Add make command to delete node_modules (#4748) --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 6deaeb6e0b..fac4ebbfff 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,11 @@ test-clean: rm -rf packages/*/test/tmp rm -rf packages/*/test-fixtures.json +clean-all: + rm -rf node_modules + rm -rf packages/*/node_modules + make clean + # without lint test-only: ./scripts/test.sh @@ -64,6 +69,7 @@ publish: #./scripts/build-website.sh bootstrap: + make clean-all npm install ./node_modules/.bin/lerna bootstrap make build