From e2c6673ed411cf311b7d439c6484302e0d85cb8c Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Wed, 3 Apr 2024 11:39:57 +0530 Subject: [PATCH] chore: update ports to avoid conflicts with other projects (#511) --- README.md | 10 ++++++++-- package.json | 9 +++++---- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 233b80b3..e3f79a4d 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,16 @@ Sefirot follows the official [Vue Style Guide](https://v3.vuejs.org/style-guide/ ### Development ```bash -$ pnpm run serve +$ pnpm run story ``` -Serve documentation website at http://localhost:3000. +Serve Histoire at http://localhost:4010. + +```bash +$ pnpm run docs +``` + +Serve documentation website at http://localhost:4011. ```bash $ pnpm run lint diff --git a/package.json b/package.json index e3e9ee6d..28846731 100644 --- a/package.json +++ b/package.json @@ -22,12 +22,13 @@ ], "scripts": { "docs": "pnpm docs:dev", - "docs:dev": "vitepress dev docs --port 4000", + "docs:dev": "vitepress dev docs --port 4011", "docs:build": "vitepress build docs", - "docs:preview": "vitepress serve docs --port 3000", - "story": "histoire dev --port 3000", + "docs:preview": "vitepress serve docs --port 4011", + "story": "pnpm story:dev", + "story:dev": "histoire dev --port 4010", "story:build": "histoire build", - "story:preview": "histoire preview --port 3000", + "story:preview": "histoire preview --port 4010", "type": "vue-tsc --noEmit", "lint": "eslint --fix .", "lint:fail": "eslint .",