feat(seller端升级node版本): 添加 .npmrc 和 .yarnrc 文件以支持引擎配置,更新 package.json 中的引擎要求并替换 node-sass 为 sass,优化依赖管理和兼容性,兼容node16版本

This commit is contained in:
Ryan Ran
2025-09-29 18:26:52 +08:00
parent c5d675b6d2
commit 8fb87aa64d
27 changed files with 53 additions and 46 deletions

View File

@@ -4,6 +4,9 @@
"private": true,
"description": "lilishop-ui",
"author": "lili-platform",
"engines": {
"node": ">=14"
},
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
@@ -15,10 +18,10 @@
"axios": "^0.21.1",
"dplayer": "^1.27.1",
"js-cookie": "^2.2.1",
"node-sass": "^4.14.1",
"sass": "^1.63.6",
"price-color": "^1.0.2",
"s": "^1.0.0",
"sass-loader": "^8.0.2",
"sass-loader": "^10.4.1",
"sockjs-client": "^1.4.0",
"swiper": "^6.3.5",
"uuid": "^8.3.2",
@@ -51,6 +54,8 @@
"vue-template-compiler": "^2.6.10"
},
"resolutions": {
"minimatch": "^3.1.2"
"minimatch": "^3.1.2",
"node-sass": "npm:sass@^1.63.6",
"@achrinza/node-ipc": "9.2.2"
}
}