perf: 增加.npmrc文件,默认使用新的淘宝镜像源

pull/2/head
caiti 2022-05-16 20:11:57 +08:00
parent 6c5f5e1ad4
commit b9636bcf6a
2 changed files with 11 additions and 6 deletions

4
yudao-ui-admin/.npmrc Normal file
View File

@ -0,0 +1,4 @@
phantomjs_cdnurl=http://cnpmjs.org/downloads
chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
registry=https://registry.npmmirror.com

View File

@ -12,7 +12,8 @@
"build:dev": "vue-cli-service build --mode dev",
"build:demo1024": "vue-cli-service build --mode demo1024",
"preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src"
"lint": "eslint --ext .js,.vue src",
"clean": "rimraf node_modules"
},
"husky": {
"hooks": {
@ -62,11 +63,11 @@
"vue-router": "3.4.9",
"vuedraggable": "2.24.3",
"vuex": "3.6.0",
"bpmn-js-token-simulation": "^0.10.0",
"min-dash": "^3.5.2",
"xml-js": "^1.6.11",
"@babel/parser": "^7.7.4",
"throttle-debounce": "^2.1.0"
"bpmn-js-token-simulation": "0.10.0",
"min-dash": "3.5.2",
"xml-js": "1.6.11",
"@babel/parser": "7.7.4",
"throttle-debounce": "2.1.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "4.4.6",