Update package.json

[修复] 替换 esno 为 tsx 以解决 Node.js 实验性警告
[Fix] Replace esno with tsx to resolve Node.js experimental warning
This commit is contained in:
hoffmannlin 2025-06-23 19:55:04 +08:00 committed by GitHub
parent 9a4a8f8d17
commit ddee27192c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@
"serve": "npm run dev",
"dev": "cross-env VITE_CJS_IGNORE_WARNING=true vite dev",
"dev:debugcjs": "cross-env VITE_CJS_TRACE=true vite dev",
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
"build": "cross-env NODE_ENV=production vite build && tsx ./build/script/postBuild.ts",
"build:no-cache": "pnpm clean:cache && npm run build",
"report": "cross-env REPORT=true npm run build",
"type:check": "vue-tsc --noEmit --skipLibCheck",
@ -77,7 +77,7 @@
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"eslint-plugin-format": "^0.1.0",
"esno": "^0.16.3",
"tsx": "^3.0.0",
"fs-extra": "^11.2.0",
"less": "^4.2.0",
"lint-staged": "^15.2.0",