From dd24f1de5d2e8a983d4885fc48dff3967c386d58 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Wed, 14 Dec 2022 13:45:06 +0800 Subject: [PATCH] refactor: add `build:test` script --- packages/toolkit/connector-kit/package.json | 1 + packages/toolkit/core-kit/package.json | 1 + packages/toolkit/language-kit/package.json | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/toolkit/connector-kit/package.json b/packages/toolkit/connector-kit/package.json index 57fc83082..c36fae69c 100644 --- a/packages/toolkit/connector-kit/package.json +++ b/packages/toolkit/connector-kit/package.json @@ -22,6 +22,7 @@ "scripts": { "precommit": "lint-staged", "dev": "tsc --watch --preserveWatchOutput --incremental", + "build:test": "pnpm build", "build": "rm -rf lib/ && rollup -c && tsc", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", diff --git a/packages/toolkit/core-kit/package.json b/packages/toolkit/core-kit/package.json index 6645b1cad..c148c494d 100644 --- a/packages/toolkit/core-kit/package.json +++ b/packages/toolkit/core-kit/package.json @@ -25,6 +25,7 @@ "precommit": "lint-staged", "dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental", "build": "rm -rf lib/ && rollup -c && tsc -p tsconfig.build.json", + "build:test": "pnpm build", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", "prepack": "pnpm build", diff --git a/packages/toolkit/language-kit/package.json b/packages/toolkit/language-kit/package.json index 3f084f569..6956784e8 100644 --- a/packages/toolkit/language-kit/package.json +++ b/packages/toolkit/language-kit/package.json @@ -22,6 +22,7 @@ "scripts": { "precommit": "lint-staged", "build": "rm -rf lib/ && rollup -c && tsc -p tsconfig.build.json", + "build:test": "pnpm build", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", "prepack": "pnpm build",