UNPKG

@nguyenviet3057/react-native-code-highlighter

Version:
156 lines (155 loc) 4.15 kB
{ "name": "@nguyenviet3057/react-native-code-highlighter", "version": "1.2.7", "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 ./ --apply-unsafe", "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": { "type": "git", "url": "git+https://github.com/gmsgowtham/react-native-code-highlighter.git" }, "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.25.8", "@babel/preset-env": "7.25.8", "@biomejs/biome": "1.9.2", "@commitlint/config-conventional": "19.5.0", "@evilmartians/lefthook": "1.7.18", "@release-it/conventional-changelog": "8.0.2", "@testing-library/react-native": "12.7.2", "@types/jest": "29.5.13", "@types/node": "20.16.5", "@types/react": "18.3.11", "@types/react-native": "0.72.8", "@types/react-syntax-highlighter": "15.5.13", "@types/react-test-renderer": "18.3.0", "commitlint": "19.5.0", "cosmiconfig": "9.0.0", "del-cli": "6.0.0", "jest": "29.7.0", "metro-react-native-babel-preset": "0.77.0", "pod-install": "0.2.2", "react": "18.3.1", "react-native": "0.73.4", "react-native-builder-bob": "^0.33.3", "react-test-renderer": "18.3.1", "release-it": "17.6.0", "typescript": "5.6.3" }, "resolutions": { "@types/react": "18.3.11" }, "peerDependencies": { "react": "16.8.6 || ^17.0.0 || ^18.0.0", "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" } ] ] }, "dependencies": { "css-to-react-native": "3.2.0", "react-syntax-highlighter": "15.5.0", "trim-newlines": "5.0.0" }, "directories": { "example": "example" } }