Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Change data source to API repo #878

Merged
merged 2 commits into from
May 20, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update setup run, fix possible dupe _api directory
  • Loading branch information
kevee authored May 19, 2020
commit 55614815f59ea316e5a09423025a98ecccdafaac
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@
"test:lint": "eslint ./src",
"test:dev": "run-s test:lint test",
"test:api-post-build": "jest --config=\"{}\" --testPathPattern=./build/__tests__/post-build/",
"setup": "run-s setup:api-data setup:env-vars",
"setup": "run-s setup:api-data setup:api-repo setup:env-vars",
"setup:api-data": "curl https://covidtracking.com/api/archive.tar.gz | tar -xz",
"setup:env-vars": "curl -L https://covidtracking.com/__developer/env-vars > .env",
"setup:api-repo": "git clone --depth 1 https://github.com/COVID19Tracking/covid-public-api.git _api"
"setup:api-repo": "rm -rf _api || true && git clone --depth 1 https://github.com/COVID19Tracking/covid-public-api.git _api"
}
}