From 04c492097568fb31fd359f291d0a4446a88f23a4 Mon Sep 17 00:00:00 2001 From: SNikhill Date: Sat, 23 Jul 2022 16:01:54 +0530 Subject: [PATCH] chore(#6392): rename to ts file --- package.json | 2 +- .../{generate-heading-ids.js => generate-heading-ids.ts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/scripts/{generate-heading-ids.js => generate-heading-ids.ts} (100%) diff --git a/package.json b/package.json index b94493f8871..cd86a8e8dfa 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "crowdin-clean": "rm -rf .crowdin && mkdir .crowdin", "crowdin-import": "ts-node src/scripts/crowdin-import.ts", "format": "prettier --write \"**/*.{js,jsx,json,md}\"", - "generate-heading-ids": "node src/scripts/generate-heading-ids.js", + "generate-heading-ids": "ts-node src/scripts/generate-heading-ids.ts", "start": "gatsby develop", "start:lambda": "netlify-lambda serve src/lambda", "start:static": "gatsby build && gatsby serve", diff --git a/src/scripts/generate-heading-ids.js b/src/scripts/generate-heading-ids.ts similarity index 100% rename from src/scripts/generate-heading-ids.js rename to src/scripts/generate-heading-ids.ts