Authored by 李奇

添加依赖包修改docker脚本

1 rm -rf yoho-api-doc.tar.gz 1 rm -rf yoho-api-doc.tar.gz
2 yarn 2 yarn
  3 +NODE_ENV=development yarn
3 yarn build 4 yarn build
4 tar -czvf yoho-api-doc.tar.gz * 5 tar -czvf yoho-api-doc.tar.gz *
5 docker build -t ccr.ccs.tencentyun.com/yoho-ops/yoho-api-doc:latest . 6 docker build -t ccr.ccs.tencentyun.com/yoho-ops/yoho-api-doc:latest .
6 -docker push ccr.ccs.tencentyun.com/yoho-ops/yoho-api-doc:latest  
  7 +docker push ccr.ccs.tencentyun.com/yoho-ops/yoho-api-doc:latest
@@ -15,12 +15,10 @@ @@ -15,12 +15,10 @@
15 "license": "ISC", 15 "license": "ISC",
16 "dependencies": { 16 "dependencies": {
17 "axios": "^0.16.2", 17 "axios": "^0.16.2",
18 - "chalk": "^2.3.0",  
19 "iview": "^2.4.0", 18 "iview": "^2.4.0",
20 "iview-loader": "^1.0.0-beta.4", 19 "iview-loader": "^1.0.0-beta.4",
21 "lodash": "^4.15.0", 20 "lodash": "^4.15.0",
22 "prismjs": "^1.8.1", 21 "prismjs": "^1.8.1",
23 - "rimraf": "^2.6.2",  
24 "vue": "^2.5.2", 22 "vue": "^2.5.2",
25 "vue-json-viewer": "^1.0.2", 23 "vue-json-viewer": "^1.0.2",
26 "vue-loader": "^13.3.0", 24 "vue-loader": "^13.3.0",
@@ -45,6 +43,7 @@ @@ -45,6 +43,7 @@
45 "babel-preset-env": "^1.4.0", 43 "babel-preset-env": "^1.4.0",
46 "babel-preset-es2015": "^6.14.0", 44 "babel-preset-es2015": "^6.14.0",
47 "babel-runtime": "^6.11.6", 45 "babel-runtime": "^6.11.6",
  46 + "chalk": "^2.3.0",
48 "clipboard": "^1.7.1", 47 "clipboard": "^1.7.1",
49 "css-loader": "^0.28.1", 48 "css-loader": "^0.28.1",
50 "eslint": "^3.3.1", 49 "eslint": "^3.3.1",
@@ -60,6 +59,7 @@ @@ -60,6 +59,7 @@
60 "postcss-pxtorem": "^3.3.1", 59 "postcss-pxtorem": "^3.3.1",
61 "postcss-scss": "^1.0.0", 60 "postcss-scss": "^1.0.0",
62 "precss": "^1.4.0", 61 "precss": "^1.4.0",
  62 + "rimraf": "^2.6.2",
63 "sass-loader": "^6.0.6", 63 "sass-loader": "^6.0.6",
64 "style-loader": "^0.17.0", 64 "style-loader": "^0.17.0",
65 "stylelint": "^7.1.0", 65 "stylelint": "^7.1.0",