Skip to content

Commit 1c3fe07

Browse files
feat: Update .travis.yml
1 parent 072e660 commit 1c3fe07

File tree

3 files changed

+1407
-1164
lines changed

3 files changed

+1407
-1164
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ scripts:
2424
- yarn test
2525
- yarn build
2626
after_success:
27-
- ssh [email protected] -o StrictHostKeyChecking=no 'cd /var/www/jsapi/javascript-apis && git pull && yarn install && yarn build && cd docs/.vuepress && cp -r ./dist ./build'
27+
- ssh [email protected] -o StrictHostKeyChecking=no 'cd /var/www/jsapi/javascript-apis && git pull && yarn install && yarn build && cd docs/.vuepress && rm -rf ./build && cp -r ./dist ./build'

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@
3434
"babel-core": "^7.0.0-0",
3535
"babel-jest": "^24.5.0",
3636
"babel-preset-env": "^1.7.0",
37-
"eslint": "^5.15.2",
38-
"husky": "^1.3.1",
37+
"eslint": "^6.5.1",
38+
"husky": "^3.0.9",
3939
"jest": "^24.5.0",
4040
"markdown-it-katex": "^2.0.3",
4141
"node-sass": "^4.11.0",
42-
"sass-loader": "^7.1.0",
42+
"sass-loader": "^8.0.0",
4343
"vuepress": "^1.0.0-alpha.44"
4444
},
4545
"dependencies": {
46-
"axios": "^0.18.1",
46+
"axios": "^0.19.0",
4747
"gitalk": "^1.5.0"
4848
}
4949
}

0 commit comments

Comments
 (0)