From 4e058f3227f0db95b69eab21c957c4c4d20fe997 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Fri, 5 Aug 2022 14:09:48 -0500 Subject: [PATCH] Use vite-node for build lists --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0586e09..22d4a4e 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "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", "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", "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",