diff --git a/README.md b/README.md index 1d4bb5d3..b5470186 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,10 @@ - pnpm install - pnpm generate-data +## How to run specific scripts only (useful for debugging) + +- pnpm generate-data-sub {script-name-here-with-no-extension} {script2-name-here-with-no-extension} ... + ## Debug pre-commit hook If your pre-commit hook fails, please run the following `pnpm dlx husky install` diff --git a/package.json b/package.json index 956a4b11..a9d45ec8 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "manifest:pretty": "dotenv node built/src/generate-pretty-manifest.js", "generate-data-main": "dotenv node built/src/main.js", "generate-data-font": "dotenv node built/src/main.js generate-font-glyph-enums generate-symbols", + "generate-data-sub": "tsc && resolve-tspaths && dotenv node built/src/main.js", "generate-font": "run-s build generate-data-font", "generate-data": "run-s build generate-data-main" },