react-native-shiki-engine
Version:
Shiki syntax highlighting for React Native. Zero bridge overhead with native Oniguruma regex engine.
139 lines (138 loc) • 3.22 kB
JSON
{
"name": "react-native-shiki-engine",
"version": "0.3.9",
"description": "Shiki syntax highlighting for React Native. Zero bridge overhead with native Oniguruma regex engine.",
"author": "Ryan Skinner <hello@ryanskinner.com> (https://github.com/skiniks)",
"license": "MIT",
"homepage": "https://github.com/skiniks/react-native-shiki-engine#readme",
"repository": {
"type": "git",
"url": "https://github.com/skiniks/react-native-shiki-engine.git"
},
"bugs": {
"url": "https://github.com/skiniks/react-native-shiki-engine/issues"
},
"keywords": [
"react-native",
"ios",
"android",
"shiki",
"oniguruma",
"regex",
"syntax-highlighting",
"textmate",
"turbo"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"exports": {
".": {
"types": "./lib/typescript/index.d.ts",
"import": "./lib/module/index.js",
"default": "./lib/module/index.js"
}
},
"main": "lib/module/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"files": [
"*.podspec",
"android",
"apple",
"cpp",
"lib",
"react-native.config.js",
"src"
],
"scripts": {
"prepublishOnly": "npm run build",
"build": "bob build",
"clean": "del-cli android/app android/build lib build",
"typecheck": "tsc --noEmit",
"lint": "oxlint . && eslint .",
"lint:fix": "oxlint . --fix && eslint . --fix",
"release": "release-it"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"dependencies": {
"@shikijs/types": "^3.19.0",
"@shikijs/vscode-textmate": "^10.0.2"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@types/react": "~19.1.17",
"del-cli": "^7.0.0",
"react": "19.1.0",
"react-native": "0.82.1",
"react-native-builder-bob": "^0.40.16",
"typescript": "^5.9.3"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.json"
}
]
]
},
"codegenConfig": {
"name": "NativeShikiEngineSpec",
"type": "modules",
"jsSrcsDir": "src"
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "chore(deps)",
"section": "⬆️ Dependency Upgrades"
},
{
"type": "docs",
"section": "📚 Documentation"
},
{
"type": "feat",
"section": "✨ Features"
},
{
"type": "fix",
"section": "🐛 Bug Fixes"
},
{
"type": "perf",
"section": "🐎 Performance Improvements"
}
]
}
}
}
}
}