{ "name": "shiki", "type": "module", "version": "1.12.0", "description": "A beautiful Syntax Highlighter.", "author": "Pine Wu ; Anthony Fu ", "license": "MIT", "homepage": "https://github.com/shikijs/shiki#readme", "repository": { "type": "git", "url": "git+https://github.com/shikijs/shiki.git", "directory": "packages/shiki" }, "bugs": "https://github.com/shikijs/shiki/issues", "keywords": [ "shiki" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "./core": { "types": "./dist/core.d.mts", "unwasm": "./dist/core-unwasm.mjs", "default": "./dist/core.mjs" }, "./wasm": { "unwasm": "./dist/onig.wasm", "types": "./dist/wasm.d.mts", "default": "./dist/wasm.mjs" }, "./langs": { "types": "./dist/langs.d.mts", "default": "./dist/langs.mjs" }, "./themes": { "types": "./dist/themes.d.mts", "default": "./dist/themes.mjs" }, "./theme-css-variables": { "types": "./dist/theme-css-variables.d.mts", "default": "./dist/theme-css-variables.mjs" }, "./bundle/full": { "types": "./dist/bundle-full.d.mts", "default": "./dist/bundle-full.mjs" }, "./bundle/web": { "types": "./dist/bundle-web.d.mts", "default": "./dist/bundle-web.mjs" }, "./onig.wasm": "./dist/onig.wasm", "./dist/*": "./dist/*", "./package.json": "./package.json", "./*": "./dist/*" }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "typesVersions": { "*": { "core": [ "./dist/core.d.mts" ], "wasm": [ "./dist/wasm.d.mts" ], "langs": [ "./dist/langs.d.mts" ], "themes": [ "./dist/themes.d.mts" ], "bundle/full": [ "./dist/bundle-full.d.mts" ], "bundle/web": [ "./dist/bundle-web.d.mts" ], "theme-css-variables": [ "./dist/theme-css-variables.d.mts" ], "*": [ "./dist/*", "./*" ] } }, "files": [ "dist" ], "dependencies": { "@types/hast": "^3.0.4", "@shikijs/core": "1.12.0" }, "devDependencies": { "tm-grammars": "^1.15.1", "tm-themes": "^1.5.7", "vscode-oniguruma": "^1.7.0" }, "scripts": { "build": "rimraf dist && NODE_OPTIONS=--max-old-space-size=4096 rollup -c", "dev": "rollup -cw", "test": "vitest", "test:cf": "wrangler dev test/cf.ts --port 60001" } }