From d4ada918576d441fda19696d32d303f8b2371d41 Mon Sep 17 00:00:00 2001 From: fengstats Date: Sat, 27 Jan 2024 03:16:56 +0800 Subject: [PATCH] feat: update scripts command --- package.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f347c96f7..028476b21 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,16 @@ "description": "", "main": "index.js", "scripts": { - "db:push": "drizzle-kit push:mysql", - "data:init": "pnpm -F @earthworm/scripts-courses data:create && pnpm -F @earthworm/scripts-courses data:upload", + "db:init": "drizzle-kit push:mysql", + "db:upload": "pnpm -F @earthworm/scripts-courses data:create && pnpm -F @earthworm/scripts-courses data:upload", + "db:update": "pnpm -F @earthworm/scripts-courses data:upload", "schema:build": "pnpm -F @earthworm/shared build", "serve:dev": "pnpm schema:build && pnpm -F api start:dev", - "client:dev": "pnpm -F client dev" + "client:dev": "pnpm -F client dev", + "docker:start": "docker-compose up -d", + "docker:stop": "docker-compose stop", + "docker:delete": "docker-compose down", + "docker:down": "docker-compose down --volumes" }, "keywords": [], "author": "",