{ "name": "@herb-tools/highlighter", "version": "0.11.2", "description": "Syntax highlighter and diagnostic renderer for HTML+ERB templates.", "license": "MIT", "homepage": "https://herb-tools.dev", "bugs": "https://github.com/marcoroth/herb/issues/new?title=Package%20%60@herb-tools/highlighter%60:%20", "repository": { "type": "git", "url": "git+https://github.com/marcoroth/herb.git", "directory": "javascript/packages/highlighter" }, "bin": { "herb-highlight": "bin/herb-highlight" }, "main": "./dist/index.js", "module": "./dist/index.js", "require": "./dist/index.cjs", "types": "./dist/types/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "browser": { "types": "./dist/types/browser.d.ts", "default": "./dist/browser.js" }, "import": { "types": "./dist/types/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/types/index.d.ts", "default": "./dist/index.cjs" }, "default": { "types": "./dist/types/index.d.ts", "default": "./dist/index.js" } } }, "scripts": { "clean": "rimraf dist", "build": "yarn clean && tsc --emitDeclarationOnly && rolldown -c", "watch": "tsc --emitDeclarationOnly -w", "test": "vitest run", "typecheck": "tsc -p tsconfig.test.json", "prepublishOnly": "yarn clean && yarn build && yarn test" }, "dependencies": { "@herb-tools/core": "0.11.2", "@herb-tools/node-wasm": "0.11.2", "ansi_up": "^6.0.6" }, "files": [ "package.json", "README.md", "src/", "bin/", "dist/", "themes/" ] }