File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,4 @@ cd $(dirname $0)/..
22
22
23
23
npm install
24
24
25
- npm run docs
26
-
27
- # Check broken links
28
- BIN=./node_modules/.bin
29
-
30
- npm install broken-link-checker
31
- npm install http-server
32
- $BIN /http-server -p 8080 docs/ &
33
- $BIN /blc http://localhost:8080 -r --exclude www.googleapis.com
25
+ npm run docs-test
Original file line number Diff line number Diff line change 58
58
"proxyquire" : " ^2.0.0" ,
59
59
"sinon" : " ^7.0.0" ,
60
60
"source-map-support" : " ^0.5.6" ,
61
- "typescript" : " ^3.0.0"
61
+ "typescript" : " ^3.0.0" ,
62
+ "broken-link-checker-local" : " ^0.2.0"
62
63
},
63
64
"scripts" : {
64
65
"lint" : " npm run check && eslint '**/*.js'" ,
73
74
"posttest" : " npm run check" ,
74
75
"samples-test" : " mocha samples/system-test" ,
75
76
"system-test" : " mocha build/system-test" ,
76
- "presystem-test" : " npm run compile"
77
+ "presystem-test" : " npm run compile" ,
78
+ "docs-test" : " blcl docs -r --exclude www.googleapis.com" ,
79
+ "predocs-test" : " npm run docs"
77
80
}
78
81
}
You can’t perform that action at this time.
0 commit comments