Refine scripts

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang
2025-03-17 12:18:11 +08:00
parent 5eafefde72
commit 2c6cdb4b67

View File

@@ -5,7 +5,8 @@
"description": "Default theme for Halo 2.0",
"scripts": {
"dev": "vite build --watch",
"build": "tsc && vite build",
"build-only": "tsc && vite build",
"build": "pnpm run build-only && pnpm package",
"lint": "eslint ./src --ext .js,.cjs,.mjs,.ts,.cts,.mts --ignore-path .gitignore",
"prettier": "prettier --write \"./src/**/*.{js,ts,css,json,ml,yaml,html}\" \"./templates/**/*.html\"",
"release": "release-it",