From 734f981e25ec5cdbd2bf00d1a2ab6a22fc6320d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9lian=20GARCIA?= Date: Sat, 19 Jul 2025 07:54:53 +0200 Subject: [PATCH] Add build commands Hello, just a proposal to change raw command to build commands as I noticed it was in the package.json. --- extra/3RD_PARTY_QUICK_START.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/3RD_PARTY_QUICK_START.md b/extra/3RD_PARTY_QUICK_START.md index 1d6e7e1152..8ff5ce4100 100644 --- a/extra/3RD_PARTY_QUICK_START.md +++ b/extra/3RD_PARTY_QUICK_START.md @@ -40,7 +40,7 @@ Switching back to your clone of the `highlight-js` core repository now, `git clo To test (detect and markup tests), just build Highlight.js and test it. Your tests should be automatically run with the full suite: ```bash -node ./tools/build.js -t node +npm run build npm run test ``` @@ -62,7 +62,7 @@ Users will expect your package to include a minified CDN distributable in your ` *The Highlight.js CDN build process will build this file for you automatically.* You can simply commit and push your repo, and done. ```bash -node ./tools/build.js -t cdn +npm run build-cdn ... Building extra/highlightjs-your-language/dist/your-language.min.js.