Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add build command

Steven Tey0d25748e8055
diff --git a/package.json b/package.json
index 397d81479e..da7c9799cd 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,7 @@
"clean": "turbo clean",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"prettier-check": "prettier --check \"**/*.{ts,tsx,md}\"",
+ "publish-cli": "turbo build --filter='@dub/cli' && cd packages/cli && npm publish && cd ../../",
"publish-tw": "turbo build --filter='@dub/tailwind-config' && cd packages/tailwind-config && npm publish && cd ../../",
"publish-ui": "turbo build --filter='@dub/ui' && cd packages/ui && npm publish && cd ../../",
"publish-utils": "turbo build --filter='@dub/utils' && cd packages/utils && npm publish && cd ../../",
diff --git a/packages/cli/README.md b/packages/cli/README.md
index b9b890c213..cbb37df7b2 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -1,31 +1,3 @@
# `dub-cli`
-a cli for easily shortening URLs.
-
-## Running Locally
-
-To install the package and then,
-
-1. Navigate to the cli folder
-
- ```bash
- cd packages/cli
- ```
-
-2. Start the development server
-
- ```bash
- pnpm dev
- ```
-
-3. Run commands
-
- ```bash
- pnpm start [command]
- ```
-
-4. See all available commands and options
-
- ```bash
- pnpm start help
- ```
+A CLI for easily shortening URLs.