Use vite-node for download-stork-toml

This commit is contained in:
Sam Carlton 2022-08-05 14:15:18 -05:00
parent ceba0cadaa
commit 9b0f167979

View file

@ -37,7 +37,7 @@
"build-stork-index-js": "node -r esm -r tsconfig-paths/register scripts/build-stork-index.js", "build-stork-index-js": "node -r esm -r tsconfig-paths/register scripts/build-stork-index.js",
"stork-search": "./$npm_package_config_stork_executable search --index $npm_package_config_stork_index --query $1", "stork-search": "./$npm_package_config_stork_executable search --index $npm_package_config_stork_index --query $1",
"stork-index": "run-s setup-stork build-stork-index", "stork-index": "run-s setup-stork build-stork-index",
"download-stork-toml": "node -r esm -r tsconfig-paths/register scripts/download-stork-toml.js", "download-stork-toml": "npx vite-node scripts/download-stork-toml.js",
"download-stork-executable": "node -r esm -r tsconfig-paths/register scripts/download-stork-executable.js", "download-stork-executable": "node -r esm -r tsconfig-paths/register scripts/download-stork-executable.js",
"download-sitemaps": "node -r esm -r tsconfig-paths/register scripts/download-sitemaps.js", "download-sitemaps": "node -r esm -r tsconfig-paths/register scripts/download-sitemaps.js",
"stork-netlify": "chmod +x scripts/stork-netlify.sh && ./scripts/stork-netlify.sh", "stork-netlify": "chmod +x scripts/stork-netlify.sh && ./scripts/stork-netlify.sh",