react-native-shiki-engine
Version:
Shiki syntax highlighting for React Native. Zero bridge overhead with native Oniguruma regex engine.
149 lines (148 loc) • 3.84 kB
JSON
{
"name": "react-native-shiki-engine",
"version": "0.1.8",
"packageManager": "yarn@4.5.3",
"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/"
},
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"workspaces": [
"example"
],
"files": [
"*.podspec",
"android/CMakeLists.txt",
"android/build.gradle",
"android/gradle.properties",
"android/src/main",
"cpp",
"ios",
"lib/commonjs",
"lib/module",
"lib/typescript",
"react-native.config.js",
"src"
],
"scripts": {
"prepare": "git submodule update --init --recursive && bob build",
"prepack": "bob build",
"clean": "del-cli android/app android/build example/android/build example/android/app/build example/ios/build lib build",
"pods": "cd example && yarn pods",
"update:submodule": "git submodule update --remote --merge",
"codegen": "npx react-native codegen",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:cpp": "scripts/clang-format.sh",
"lint:all": "yarn lint:fix && yarn lint:cpp",
"release": "release-it"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"dependencies": {
"@shikijs/types": "^1.24.4",
"@shikijs/vscode-textmate": "^9.3.1"
},
"devDependencies": {
"@antfu/eslint-config": "^3.12.1",
"@eslint-react/eslint-plugin": "^1.22.2",
"@react-native-community/cli": "^15.1.3",
"@release-it/conventional-changelog": "^9.0.4",
"@types/react": "^19.0.2",
"del-cli": "^6.0.0",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"react": "^18.3.1",
"react-native": "^0.76.5",
"react-native-builder-bob": "^0.35.2",
"release-it": "^17.11.0",
"typescript": "^5.7.2"
},
"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"
}
]
}
}
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.json"
}
]
]
},
"codegenConfig": {
"name": "NativeShikiEngineSpec",
"type": "modules",
"jsSrcsDir": "src"
}
}