Commit b9636bcf6a186a9cc01d7b1420362444c50ba2ac

Authored by caiti
1 parent 6c5f5e1a

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

yudao-ui-admin/.npmrc 0 → 100644
  1 +phantomjs_cdnurl=http://cnpmjs.org/downloads
  2 +chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver
  3 +sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
  4 +registry=https://registry.npmmirror.com
... ...
yudao-ui-admin/package.json
... ... @@ -12,7 +12,8 @@
12 12 "build:dev": "vue-cli-service build --mode dev",
13 13 "build:demo1024": "vue-cli-service build --mode demo1024",
14 14 "preview": "node build/index.js --preview",
15   - "lint": "eslint --ext .js,.vue src"
  15 + "lint": "eslint --ext .js,.vue src",
  16 + "clean": "rimraf node_modules"
16 17 },
17 18 "husky": {
18 19 "hooks": {
... ... @@ -62,11 +63,11 @@
62 63 "vue-router": "3.4.9",
63 64 "vuedraggable": "2.24.3",
64 65 "vuex": "3.6.0",
65   - "bpmn-js-token-simulation": "^0.10.0",
66   - "min-dash": "^3.5.2",
67   - "xml-js": "^1.6.11",
68   - "@babel/parser": "^7.7.4",
69   - "throttle-debounce": "^2.1.0"
  66 + "bpmn-js-token-simulation": "0.10.0",
  67 + "min-dash": "3.5.2",
  68 + "xml-js": "1.6.11",
  69 + "@babel/parser": "7.7.4",
  70 + "throttle-debounce": "2.1.0"
70 71 },
71 72 "devDependencies": {
72 73 "@vue/cli-plugin-babel": "4.4.6",
... ...