From a361820b24d0388725113071fbc58f3b689f37e4 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Mon, 18 Apr 2022 16:54:40 +0200 Subject: [PATCH] setup: add clean scripts --- packages/status-core/package.json | 3 ++- packages/status-react/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/status-core/package.json b/packages/status-core/package.json index d8ac9568..cdf1ebf1 100644 --- a/packages/status-core/package.json +++ b/packages/status-core/package.json @@ -24,7 +24,8 @@ "test": "mocha", "proto": "run-s 'proto:*'", "proto:lint": "buf lint", - "proto:build": "buf generate" + "proto:build": "buf generate", + "clean": "rm -rf node_modules && rm -rf dist" }, "dependencies": { "bn.js": "^5.2.0", diff --git a/packages/status-react/package.json b/packages/status-react/package.json index 1e3b7cc4..9636620f 100644 --- a/packages/status-react/package.json +++ b/packages/status-react/package.json @@ -21,7 +21,8 @@ "build:types": "tsc --emitDeclarationOnly", "typecheck": "tsc --noEmit", "lint": "eslint src", - "format": "prettier --write src" + "format": "prettier --write src", + "clean": "rm -rf node_modules && rm -rf dist" }, "dependencies": { "@hcaptcha/react-hcaptcha": "^1.0.0",