File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 48
48
- run : npm run types
49
49
50
50
# run tests!
51
- - run : sudo npm install -g istanbul codecov
52
- - run : istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec --exit
51
+ - run : npm run istanbul
53
52
- early_return_for_forked_pull_requests
54
- - run : codecov -t ${CODECOV_TOKEN}
53
+ - run : npm run codecov
55
54
56
55
docs :
57
56
docker :
75
74
command : npm run docs
76
75
- run :
77
76
name : Deploy docs to gh-pages branch
78
- command : gh-pages --dist ./docs --branch master --dest ./docs --message "[skip ci] Updates"
77
+ command : npm run gh-pages
79
78
80
79
workflows :
81
80
version : 2
Original file line number Diff line number Diff line change 13
13
"redis" : " ^3.0.2"
14
14
},
15
15
"devDependencies" : {
16
+ "codecov" : " ^3.8.1" ,
16
17
"gh-pages" : " 2.0.1" ,
18
+ "istanbul" : " ^0.4.5" ,
17
19
"jsdoc" : " ^3.6.6" ,
18
20
"jsdoc-ts-utils" : " ^1.1.2" ,
19
21
"mocha" : " ^7.0.1" ,
22
24
"scripts" : {
23
25
"test" : " mocha --exit" ,
24
26
"types" : " tsc" ,
25
- "docs" : " jsdoc -c jsdoc.conf.json ./src -r -d ./docs -R ./README.md"
27
+ "docs" : " jsdoc -c jsdoc.conf.json ./src -r -d ./docs -R ./README.md" ,
28
+ "gh-pages" : " gh-pages --dist ./docs --branch master --dest ./docs --message \" [skip ci] Updates\" " ,
29
+ "istanbul" : " istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec --exit" ,
30
+ "codecov" : " codecov -t ${CODECOV_TOKEN}"
26
31
},
27
32
"main" : " index.js" ,
28
33
"types" : " ./types"
You can’t perform that action at this time.
0 commit comments