File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ cd docs
2
+ rm -rf _book
3
+ gitbook build
4
+ cp assets/circle.yml _book/circle.yml
5
+ cp assets/CNAME _book/CNAME
6
+ cd _book
7
+ git init
8
+ git add -A
9
+ git commit -m ' update book'
10
+ git push -f
[email protected] :vuejs/vue-router.git master:gh-pages
Original file line number Diff line number Diff line change 23
23
"test" : " npm run lint && flow check && npm run test:unit && npm run test:e2e" ,
24
24
"test:unit" : " jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json" ,
25
25
"test:e2e" : " node test/e2e/runner.js" ,
26
+ "docs" : " cd docs && gitbook serve" ,
27
+ "deploy-docs" : " bash ./build/update-docs.sh" ,
26
28
"release" : " bash build/release.sh"
27
29
},
28
30
"devDependencies" : {
43
45
"express" : " ^4.14.0" ,
44
46
"express-urlrewrite" : " ^1.2.0" ,
45
47
"flow-bin" : " ^0.31.1" ,
48
+ "gitbook-plugin-edit-link" : " ^2.0.2" ,
49
+ "gitbook-plugin-github" : " ^2.0.0" ,
46
50
"jasmine" : " 2.4.1" ,
47
51
"nightwatch" : " ^0.9.5" ,
48
52
"nightwatch-helpers" : " ^1.0.0" ,
You can’t perform that action at this time.
0 commit comments