From 7c60b723e1f323cf47bebb39663fc0adf14855c4 Mon Sep 17 00:00:00 2001 From: zjx0905 <954270063@qq.com> Date: Sun, 14 May 2023 19:12:47 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=20scripts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +-- package.json | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 228fdf1..b160434 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ node_modules *.log # Docs -dist docs/.vitepress/cache docs/pages/guide/intro.md @@ -11,7 +10,7 @@ docs/pages/guide/intro.md .DS_Store # Bundle -lib/ +dist/ # Typescript build file *.tsbuildinfo diff --git a/package.json b/package.json index e1cd317..3b2407c 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,10 @@ }, "scripts": { "cz": "simple-git-hooks && czg", + "start": "esno scripts/start.ts", + "typecheck": "tsc --noEmit", + "lint": "eslint --cache . --fix", + "format": "prettier **/*.{js,json} --write & prettier **/*.ts --parser=typescript --write", "build": "esno scripts/build.ts", "build:assets": "esno scripts/build.assets.ts", "watch": "pnpm build -a -w", @@ -41,14 +45,10 @@ "test": "vitest run", "test:watch": "vitest", "test:cov": "vitest run --coverage", - "typecheck": "tsc --noEmit", - "lint": "eslint --cache . --fix", "docs:dev": "pnpm -C docs dev", "docs:build": "pnpm -C docs build", "docs:preview": "pnpm -C docs preview", - "docs:deploy": "esno scripts/docs.deploy.ts", - "start": "esno scripts/start.ts", - "tidy-up": "prettier **/*.{js,json} --write & prettier **/*.ts --parser=typescript --write" + "docs:deploy": "esno scripts/docs.deploy.ts" }, "devDependencies": { "@commitlint/cli": "^17.4.4",