diff options
author | Joe Hand <joe@joeahand.com> | 2016-12-17 13:33:18 -0800 |
---|---|---|
committer | Joe Hand <joe@joeahand.com> | 2016-12-17 13:33:18 -0800 |
commit | 9f6845205ff124c3e99ed6f72167c3585e7f22cc (patch) | |
tree | 2e4989f988117d55864a6aeb1066bf5f6e238d5f /package.json | |
parent | 442498a703819b87940b66cf019098b65b6d86e2 (diff) | |
download | dat-docs-9f6845205ff124c3e99ed6f72167c3585e7f22cc.tar.gz dat-docs-9f6845205ff124c3e99ed6f72167c3585e7f22cc.zip |
use token for sync too
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/package.json b/package.json index 05dd61e..b588d3f 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,7 @@ "description": "Documentation for Dat and the surrounding ecosystem.", "main": "index.js", "scripts": { - "travis:update": "npm run travis:list && npm run travis:sync", - "travis:list": "npm run update:list && cat repos.txt | node scripts/sync.js", - "travis:sync": "cat repos.txt | ecosystem-docs read -d ./.data -t ${GH_TOKEN} | node scripts/build.js", + "travis:update": "npm run update:list && cat repos.txt | ecosystem-docs sync -t ${GH_TOKEN} && cat repos.txt | ecosystem-docs read -t ${GH_TOKEN} | node scripts/build.js", "update": "npm run update:list && npm run update:build", "update:list": "curl -Ssl https://raw.githubusercontent.com/clkao/awesome-dat/master/readme.md | grep '📔' | egrep -o 'github.com/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+' | cut -f 2- -d / | uniq > repos.txt", "update:build": "cat repos.txt | ecosystem-docs sync && cat repos.txt | ecosystem-docs read | node scripts/build.js", |