Skip to content

Commit d432326

Browse files
YunaiVgitee-org
authored andcommitted
!170 配置指定默认的npm镜像源
Merge pull request !170 from caiti/master
2 parents 9850df0 + acaa180 commit d432326

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
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

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"build:dev": "vue-cli-service build --mode dev",
1313
"build:demo1024": "vue-cli-service build --mode demo1024",
1414
"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"
1617
},
1718
"husky": {
1819
"hooks": {
@@ -62,11 +63,11 @@
6263
"vue-router": "3.4.9",
6364
"vuedraggable": "2.24.3",
6465
"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"
7071
},
7172
"devDependencies": {
7273
"@vue/cli-plugin-babel": "4.4.6",

0 commit comments

Comments
 (0)