Try using vite-node for build-stork-index-js

This commit is contained in:
Sam Carlton 2022-08-05 14:19:05 -05:00
parent 68e51e7468
commit 6a06c8ffa0

View file

@ -34,7 +34,7 @@
"build-lists": "npm run test-prebuild && npx vite-node build-lists.js", "build-lists": "npm run test-prebuild && npx vite-node build-lists.js",
"setup-stork": "run-s download-stork-toml download-stork-executable", "setup-stork": "run-s download-stork-toml download-stork-executable",
"build-stork-index": "./$npm_package_config_stork_executable build --input $npm_package_config_stork_toml --output $npm_package_config_stork_index", "build-stork-index": "./$npm_package_config_stork_executable build --input $npm_package_config_stork_toml --output $npm_package_config_stork_index",
"build-stork-index-js": "node -r esm -r tsconfig-paths/register scripts/build-stork-index.js", "build-stork-index-js": "npx vite-node 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": "npx vite-node scripts/download-stork-toml.js", "download-stork-toml": "npx vite-node scripts/download-stork-toml.js",