From 41039de6cec4579bb77241f210448d8de69f96db Mon Sep 17 00:00:00 2001 From: Guilherme Rodz Date: Thu, 22 Feb 2024 16:59:14 -0300 Subject: [PATCH] chore: add script `release` --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8a49468..67967cc 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,9 @@ "test": "turbo run test --filter=test...", "type-check": "turbo run type-check", "lint": "turbo run lint", - "format": "prettier --write ." + "format": "prettier --write .", + "prerelease": "run-p test", + "release": "cd ./packages/input-otp && cp ../../README.md . && npm publish && rimraf ./README.md && cd ../.." }, "prettier": { "tabWidth": 2,