You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
3.3 KiB
114 lines
3.3 KiB
{ |
|
"name": "highlight.js", |
|
"description": "Syntax highlighting with language autodetection.", |
|
"keywords": [ |
|
"highlight", |
|
"syntax" |
|
], |
|
"homepage": "https://highlightjs.org/", |
|
"version": "11.6.0", |
|
"author": "Josh Goebel <hello@joshgoebel.com>", |
|
"contributors": [ |
|
"Josh Goebel <hello@joshgoebel.com>", |
|
"Egor Rogov <e.rogov@postgrespro.ru>", |
|
"Vladimir Jimenez <me@allejo.io>", |
|
"Ivan Sagalaev <maniac@softwaremaniacs.org>", |
|
"Jeremy Hull <sourdrums@gmail.com>", |
|
"Oleg Efimov <efimovov@gmail.com>", |
|
"Gidi Meir Morris <gidi@gidi.io>", |
|
"Jan T. Sott <git@idleberg.com>", |
|
"Li Xuanji <xuanji@gmail.com>", |
|
"Marcos Cáceres <marcos@marcosc.com>", |
|
"Sang Dang <sang.dang@polku.io>" |
|
], |
|
"bugs": { |
|
"url": "https://github.com/highlightjs/highlight.js/issues" |
|
}, |
|
"license": "BSD-3-Clause", |
|
"repository": { |
|
"type": "git", |
|
"url": "git://github.com/highlightjs/highlight.js.git" |
|
}, |
|
"type": "commonjs", |
|
"main": "./lib/index.js", |
|
"types": "./types/index.d.ts", |
|
"sideEffects": [ |
|
"*.css", |
|
"*.scss" |
|
], |
|
"scripts": { |
|
"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", |
|
"build_and_test": "npm run build && npm run test", |
|
"build_and_test_browser": "npm run build-browser && npm run test-browser", |
|
"build": "node ./tools/build.js -t node", |
|
"build-cdn": "node ./tools/build.js -t cdn", |
|
"build-browser": "node ./tools/build.js -t browser :common", |
|
"test": "mocha test", |
|
"test-markup": "mocha test/markup", |
|
"test-detect": "mocha test/detect", |
|
"test-browser": "mocha test/browser", |
|
"test-parser": "mocha test/parser" |
|
}, |
|
"engines": { |
|
"node": ">=12.0.0" |
|
}, |
|
"devDependencies": { |
|
"@colors/colors": "^1.5.0", |
|
"@rollup/plugin-commonjs": "^22.0.0", |
|
"@rollup/plugin-json": "^4.1.0", |
|
"@rollup/plugin-node-resolve": "^13.3.0", |
|
"@types/mocha": "^9.1.1", |
|
"@typescript-eslint/eslint-plugin": "^5.27.1", |
|
"@typescript-eslint/parser": "^5.27.1", |
|
"clean-css": "^5.3.0", |
|
"cli-table": "^0.3.1", |
|
"commander": "9.3", |
|
"css": "^3.0.0", |
|
"css-color-names": "^1.0.1", |
|
"deep-freeze-es6": "^1.4.1", |
|
"del": "^6.1.1", |
|
"dependency-resolver": "^2.0.1", |
|
"eslint": "^8.17.0", |
|
"eslint-config-standard": "^17.0.0", |
|
"eslint-plugin-import": "^2.26.0", |
|
"eslint-plugin-node": "^11.1.0", |
|
"eslint-plugin-promise": "^6.0.0", |
|
"glob": "^7.2.3", |
|
"glob-promise": "^4.2.2", |
|
"handlebars": "^4.7.6", |
|
"jsdom": "^20.0.0", |
|
"lodash": "^4.17.20", |
|
"mocha": "^10.0.0", |
|
"refa": "^0.4.1", |
|
"rollup": "^2.47.0", |
|
"should": "^13.2.3", |
|
"terser": "^5.14.1", |
|
"tiny-worker": "^2.3.0", |
|
"typescript": "^4.7.3", |
|
"wcag-contrast": "^3.0.0" |
|
}, |
|
"exports": { |
|
".": { |
|
"require": "./lib/index.js", |
|
"import": "./es/index.js" |
|
}, |
|
"./package.json": "./package.json", |
|
"./lib/common": { |
|
"require": "./lib/common.js", |
|
"import": "./es/common.js" |
|
}, |
|
"./lib/core": { |
|
"require": "./lib/core.js", |
|
"import": "./es/core.js" |
|
}, |
|
"./lib/languages/*": { |
|
"require": "./lib/languages/*.js", |
|
"import": "./es/languages/*.js" |
|
}, |
|
"./scss/*": "./scss/*", |
|
"./styles/*": "./styles/*", |
|
"./types/*": "./types/*" |
|
} |
|
} |