diff --git a/package.json b/package.json index 47601e17..a860fb3d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "前端lint工具大集合", "main": "index.js", "scripts": { - "build": "pnpm run build --stream --parallel --filter {packages}", + "build": "./scripts/build.sh", "dev": "pnpm run dev --stream --parallel --filter {packages}", "fix:lint": "eslint packages --ext .ts --fix", "fix:prettier": "prettier \"packages/**/*.ts\" --write", diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100755 index 00000000..27865568 --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,3 @@ +pnpm --filter \!"@shlroland/create-lint-config-cli" --filter \!"@shlroland/lint-config-cli" --filter \!"@shlroland/lint-config" build +pnpm --filter "@shlroland/lint-config-cli" build +pnpm --filter "@shlroland/create-lint-config-cli" build \ No newline at end of file