Add dotenv to archive:create:download-urls

That way, I can specify `ARCHIVE_DIR` in my .env file, instead of having to remember to specify it every time!
This commit is contained in:
Emi Matchu 2022-09-22 22:08:16 -07:00
parent 773ec8974f
commit 681eb5cdc5

View file

@ -83,7 +83,7 @@
"export-users-to-auth0": "ts-node --compiler=typescript-cached-transpile --transpile-only -r dotenv/config scripts/export-users-to-auth0.js", "export-users-to-auth0": "ts-node --compiler=typescript-cached-transpile --transpile-only -r dotenv/config scripts/export-users-to-auth0.js",
"validate-owls-data": "ts-node --compiler=typescript-cached-transpile --transpile-only -r dotenv/config scripts/validate-owls-data.js", "validate-owls-data": "ts-node --compiler=typescript-cached-transpile --transpile-only -r dotenv/config scripts/validate-owls-data.js",
"archive:create:list-urls": "ts-node --compiler=typescript-cached-transpile --transpile-only -r dotenv/config scripts/archive/create/list-urls.js", "archive:create:list-urls": "ts-node --compiler=typescript-cached-transpile --transpile-only -r dotenv/config scripts/archive/create/list-urls.js",
"archive:create:download-urls": "./scripts/archive/create/download-urls.sh" "archive:create:download-urls": "dotenv -- ./scripts/archive/create/download-urls.sh"
}, },
"browserslist": { "browserslist": {
"production": [ "production": [