Use vite-node for build lists

This commit is contained in:
Sam Carlton 2022-08-05 14:09:48 -05:00
parent 60988f18ed
commit 4e058f3227

View file

@ -31,7 +31,7 @@
"build-api": "npm run clone-readme && npm run build-lists -- --with-api --no-lists", "build-api": "npm run clone-readme && npm run build-lists -- --with-api --no-lists",
"build-lists-and-api": "npm run clone-readme && npm run build-lists -- --with-api", "build-lists-and-api": "npm run clone-readme && npm run build-lists -- --with-api",
"generate-dev": "npm run generate && npm test", "generate-dev": "npm run generate && npm test",
"build-lists": "npm run test-prebuild && node -r esm -r tsconfig-paths/register 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": "node -r esm -r tsconfig-paths/register scripts/build-stork-index.js",