From 9f0436c2cbb55e4ff7b8336ab7546a9c3ec418e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Thu, 26 Aug 2021 11:47:38 +0800 Subject: [PATCH] chore: np => release-it (+1 squashed commit) Squashed commits: [b75d246] chore: run test before release --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 37d9774b6..0cba95d1c 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "test": "yarn build && yarn test:post-build", "test:post-build": "node dist/index.js test", "start": "tsc -p tsconfig.json --watch", - "release": "np", + "release": "yarn test && release-it", "deduplicate": "yarn dedupe", "deduplicate:check": "yarn dedupe -c" }, @@ -112,7 +112,7 @@ "cssnano": "^4.1.10", "doctoc": "^1.4.0", "husky": "^4.2.2", - "np": "^6.4.0", + "release-it": "^14.11.5", "pretty-quick": "^2.0.0", "react": "^16.8.6", "react-dom": "^16.13.0",