react-native-code-highlighter
Version:
151 lines (150 loc) • 3.61 kB
JSON
{
"name": "react-native-code-highlighter",
"version": "1.3.0",
"description": "test",
"main": "dist/commonjs/index",
"module": "dist/module/index",
"types": "dist/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"dist",
"android",
"ios",
"cpp",
"*.podspec",
"!dist/typescript/example",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"test": "jest",
"typecheck": "tsc --noEmit --project tsconfig.build.json",
"lint": "biome check ./",
"format": "biome format ./ --write",
"prepare": "yarn build",
"build": "bob build",
"release": "yarn build && release-it",
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn install"
},
"keywords": [
"react-native",
"ios",
"android",
"web",
"code-hightlighter",
"syntax-highlighter"
],
"repository": "https://github.com/gmsgowtham/react-native-code-highlighter",
"author": "Gowtham G <webappsbygowtham@gmail.com> (https://github.com/gmsgowtham)",
"license": "MIT",
"bugs": {
"url": "https://github.com/gmsgowtham/react-native-code-highlighter/issues"
},
"homepage": "https://github.com/gmsgowtham/react-native-code-highlighter#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "7.26.10",
"@babel/preset-env": "7.26.9",
"@biomejs/biome": "2.0.6",
"@commitlint/config-conventional": "19.8.1",
"@evilmartians/lefthook": "1.11.14",
"@release-it/conventional-changelog": "10.0.1",
"@testing-library/react-native": "13.2.0",
"@types/jest": "29.5.14",
"@types/node": "22.15.34",
"@types/react": "18.3.23",
"@types/react-native": "0.72.8",
"@types/react-syntax-highlighter": "15.5.13",
"@types/react-test-renderer": "19.1.0",
"commitlint": "19.8.1",
"cosmiconfig": "9.0.0",
"del-cli": "6.0.0",
"jest": "29.7.0",
"metro-react-native-babel-preset": "0.77.0",
"pod-install": "0.3.9",
"react": "18.3.1",
"react-native": "0.73.4",
"react-native-builder-bob": "0.40.12",
"react-test-renderer": "18.3.1",
"release-it": "19.0.3",
"typescript": "5.8.3"
},
"resolutions": {
"@types/react": "18.3.23"
},
"peerDependencies": {
"react": ">=16.8.6",
"react-native": ">=0.60.0",
"react-syntax-highlighter": ">=15.5.0"
},
"engines": {
"node": ">= 16.0.0"
},
"packageManager": "yarn@1.22.22",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/dist/"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|@react-native|@react-native-community|react-native-table-component|trim-newlines|react-syntax-highlighter)"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"ignoreRecommendedBump": true
}
}
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json",
"tsc": "./node_modules/.bin/tsc"
}
]
]
},
"dependencies": {
"css-to-react-native": "3.2.0",
"react-syntax-highlighter": "15.6.1",
"trim-newlines": "5.0.0"
}
}