From a7d871609e1d4f369fcf43bd2316d8349bf5f920 Mon Sep 17 00:00:00 2001 From: NgocNhi123 Date: Wed, 26 Jun 2024 00:58:43 +0700 Subject: [PATCH] update scripts --- new-docs/package.json | 5 ++--- package.json | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/new-docs/package.json b/new-docs/package.json index ae68cfbc..e84cd6ec 100644 --- a/new-docs/package.json +++ b/new-docs/package.json @@ -3,9 +3,8 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vocs dev", - "build": "vocs build", - "preview": "vocs preview" + "_start": "vocs dev", + "_build": "vocs build" }, "dependencies": { "@types/react": "latest", diff --git a/package.json b/package.json index 6d583b30..f1b0d910 100644 --- a/package.json +++ b/package.json @@ -10,13 +10,13 @@ ], "scripts": { "build-core": "cd core && yarn _build", - "build-docs": "cd docs && yarn _build", + "build-docs": "cd new-docs && yarn _build", "build-gallery": "cd gallery && yarn _build", "build": "yarn build-core && yarn build-gallery", "lint-fix": "eslint --fix . && prettier --write .", "lint": "eslint --max-warnings=0 . && prettier --check .", "start-core": "cd core && yarn _start", - "start-docs": "cd docs && yarn _start", + "start-docs": "cd new-docs && yarn _start", "start-gallery": "cd gallery && yarn _start", "test": "cd test && yarn _test" },