刪除 package-lock.json 和 yarn.lock 檔案,新增 antd-mobile-icons 依賴,並更新 package.json 中的腳本命令以使用 pnpm 進行構建和開發,調整 Vite 配置以允許從所有主機訪問。
This commit is contained in:
6479
Cunkebao/package-lock.json
generated
6479
Cunkebao/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -7,6 +7,7 @@
|
||||
"@ant-design/icons": "^5.6.1",
|
||||
"antd": "^5.13.1",
|
||||
"antd-mobile": "^5.39.1",
|
||||
"antd-mobile-icons": "^0.3.0",
|
||||
"axios": "^1.6.7",
|
||||
"dayjs": "^1.11.13",
|
||||
"echarts": "^5.6.0",
|
||||
@@ -37,10 +38,10 @@
|
||||
"vite": "^7.0.5"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"build:check": "tsc && vite build",
|
||||
"preview": "vite preview",
|
||||
"dev": "pnpm vite",
|
||||
"build": "pnpm vite build",
|
||||
"build:check": "tsc && pnpm vite build",
|
||||
"preview": "pnpm vite preview",
|
||||
"lint": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
|
||||
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,scss,css}\"",
|
||||
"lint:check": "eslint src --ext .js,.jsx,.ts,.tsx",
|
||||
|
||||
4959
Cunkebao/pnpm-lock.yaml
generated
Normal file
4959
Cunkebao/pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -12,6 +12,7 @@ export default defineConfig({
|
||||
server: {
|
||||
open: true,
|
||||
port: 3000,
|
||||
host: "0.0.0.0",
|
||||
},
|
||||
build: {
|
||||
chunkSizeWarningLimit: 2000,
|
||||
|
||||
3823
Cunkebao/yarn.lock
3823
Cunkebao/yarn.lock
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user