From 0a9f3d8e63324c667c3cf862a566473d8f376303 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 d8ac956..cdf1ebf 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 1e3b7cc..9636620 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",