@gerhobbelt/highlight.js
v11.3.1-25 highlight syntax
mocha
mocha
lint
eslint src/*.js src/lib/*.js demo/*.js tools/**/*.js --ignore-pattern vendor
lint-languages
eslint --no-eslintrc -c .eslintrc.lang.js src/languages/**/*.js
lintfix
eslint --fix src/*.js src/lib/*.js demo/*.js
lint-languages-fix
eslint --fix --no-eslintrc -c .eslintrc.lang.js src/languages/**/*.js
build
npm run lintfix && npm run lint-languages-fix && npm run build-node && npm run build-browser && npm run test-browser && npm run test
build_and_test
npm run build-node && npm run test
build_and_test_browser
npm run build-browser && npm run test-browser
build-node
node ./tools/build.js --no-minify -t node
build-cdn
node ./tools/build.js -t cdn
build-browser
node ./tools/build.js --no-minify -t browser :common
prettier
node tools/codeformat.js
test
mocha test
test-markup
mocha test/markup
test-detect
mocha test/detect
test-browser
mocha test/browser
test-parser
mocha test/parser
pub
npm publish --access public
npm i @gerhobbelt/highlight.js
Metadata
- BSD-3-Clause
- >=12.0.0
- Ivan Sagalaev
- released 12/2/2021