Skip to content

Commit

Permalink
#4852 Update outdated JS packages: highlight.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Trofimov committed Jan 5, 2025
1 parent 8dd6c22 commit 1ca8058
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 10 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"grapesjs-blocks-basic": "^1.0.2",
"grapesjs-preset-newsletter": "^1.0.2",
"grapesjs-preset-webpage": "^1.0.3",
"grapesjs-style-bg": "^2.0.2"
"grapesjs-style-bg": "^2.0.2",
"highlight.js": "github:highlightjs/highlight.js"
},
"scripts": {
"install-bower-components": "bower install",
Expand All @@ -36,6 +37,7 @@
"build:flickity": "mkdir -p plugins_public/flickity; cd node_modules/flickity; cp -r dist/flickity.css ../../plugins_public/flickity; cp -r dist/flickity.pkgd.min.js ../../plugins_public/flickity",
"build:fullcalendar": "mkdir -p plugins_public/fullcalendar/locales; cd node_modules/@fullcalendar/core; cp index.global.min.js ../../../plugins_public/fullcalendar; cp locales/*.min.js ../../../plugins_public/fullcalendar/locales",
"build:grapesjs": "mkdir -p plugins_public/grapesjs; cd plugins_public/grapesjs; cp ../../node_modules/grapesjs/dist/grapes.min.js .; cp ../../node_modules/grapesjs/dist/css/grapes.min.css .; cp ../../node_modules/grapesjs-blocks-basic/dist/index.js grapesjs-blocks-basic.js; cp ../../node_modules/grapesjs-preset-newsletter/dist/index.js grapesjs-preset-newsletter.min.js; cp ../../node_modules/grapesjs-preset-webpage/dist/index.js grapesjs-preset-webpage.min.js; cp ../../node_modules/grapesjs-style-bg/dist/index.js grapesjs-style-bg.js",
"build:highlight.js": "mkdir -p plugins_public/highlight; cd node_modules/highlight.js; npm i; npm run build-browser; cp build/highlight.min.js ../../plugins_public/highlight; npm run build-cdn; cp build/styles/default.min.css ../../plugins_public/highlight",
"build": "npm run install-bower-components; npm-run-all --parallel build:*"
},
"devDependencies": {
Expand Down

0 comments on commit 1ca8058

Please sign in to comment.