123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- {
- "name": "highlight.js",
- "description": "Syntax highlighting with language autodetection.",
- "keywords": [
- "highlight",
- "syntax"
- ],
- "homepage": "https://highlightjs.org/",
- "version": "11.10.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": [
- "./es/common.js",
- "./lib/common.js",
- "*.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",
- "devtool": "npx http-server",
- "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.6.0",
- "@rollup/plugin-commonjs": "^26.0.1",
- "@rollup/plugin-json": "^6.0.1",
- "@rollup/plugin-node-resolve": "^15.2.3",
- "@types/mocha": "^10.0.2",
- "@typescript-eslint/eslint-plugin": "^7.15.0",
- "@typescript-eslint/parser": "^7.15.0",
- "clean-css": "^5.3.2",
- "cli-table": "^0.3.1",
- "commander": "^12.1.0",
- "css": "^3.0.0",
- "css-color-names": "^1.0.1",
- "deep-freeze-es6": "^3.0.2",
- "del": "^7.1.0",
- "dependency-resolver": "^2.0.1",
- "eslint": "^8.57.0",
- "eslint-config-standard": "^17.1.0",
- "eslint-plugin-import": "^2.28.1",
- "eslint-plugin-node": "^11.1.0",
- "eslint-plugin-promise": "^6.1.1",
- "glob": "^8.1.0",
- "glob-promise": "^6.0.5",
- "handlebars": "^4.7.8",
- "http-server": "^14.1.1",
- "jsdom": "^24.1.0",
- "lodash": "^4.17.20",
- "mocha": "^10.2.0",
- "refa": "^0.4.1",
- "rollup": "^4.0.2",
- "should": "^13.2.3",
- "terser": "^5.21.0",
- "tiny-worker": "^2.3.0",
- "typescript": "^5.2.2",
- "wcag-contrast": "^3.0.0"
- },
- "exports": {
- ".": {
- "types": "./types/index.d.ts",
- "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/*"
- }
- }
|