108 lines
2.6 KiB
JSON
108 lines
2.6 KiB
JSON
{
|
|
"name": "shiki",
|
|
"type": "module",
|
|
"version": "1.9.0",
|
|
"description": "A beautiful Syntax Highlighter.",
|
|
"author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
|
|
"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": {
|
|
"@shikijs/core": "1.9.0"
|
|
},
|
|
"devDependencies": {
|
|
"tm-grammars": "^1.12.10",
|
|
"tm-themes": "^1.4.3",
|
|
"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"
|
|
}
|
|
} |