Skip to content

Commit

Permalink
(chore) extend the CDN npm build description a bit
Browse files Browse the repository at this point in the history
- add "(pre-compiled CDN assets)"
  • Loading branch information
joshgoebel committed Apr 21, 2020
1 parent c48b6c4 commit 0a89e7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/build_cdn.js
Expand Up @@ -13,7 +13,8 @@ const path = require("path");
async function installPackageJSON() {
await buildPackageJSON();
let json = require(`${process.env.BUILD_DIR}/package`);
json.name = "highlight.js-cdn-assets";
json.name = "@highlightjs/cdn-assets";
json.description = json.description.concat(" (pre-compiled CDN assets)");
fs.writeFile(`${process.env.BUILD_DIR}/package.json`, JSON.stringify(json, null, ' '));
}

Expand Down

0 comments on commit 0a89e7b

Please sign in to comment.