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