diff --git a/yudao-ui-admin/.npmrc b/yudao-ui-admin/.npmrc new file mode 100644 index 000000000..3f3e0a24b --- /dev/null +++ b/yudao-ui-admin/.npmrc @@ -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 diff --git a/yudao-ui-admin/package.json b/yudao-ui-admin/package.json index e63bd76b0..5925a5c0e 100644 --- a/yudao-ui-admin/package.json +++ b/yudao-ui-admin/package.json @@ -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",