package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. {
  2. "name": "react-native-compdfkit-pdf",
  3. "version": "2.0.0",
  4. "description": "ComPDFKit for React Native is a comprehensive SDK that allows you to quickly add PDF functionality to Android and iOS React Native applications.",
  5. "main": "lib/commonjs/index",
  6. "module": "lib/module/index",
  7. "types": "lib/typescript/src/index.d.ts",
  8. "react-native": "src/index",
  9. "source": "src/index",
  10. "files": [
  11. "src",
  12. "lib",
  13. "android",
  14. "ios",
  15. "cpp",
  16. "*.podspec",
  17. "!ios/build",
  18. "!android/build",
  19. "!android/gradle",
  20. "!android/gradlew",
  21. "!android/gradlew.bat",
  22. "!android/local.properties",
  23. "!**/__tests__",
  24. "!**/__fixtures__",
  25. "!**/__mocks__",
  26. "!**/.*"
  27. ],
  28. "scripts": {
  29. "example": "yarn workspace react-native-compdfkit-pdf-example",
  30. "test": "jest",
  31. "typecheck": "tsc --noEmit",
  32. "lint": "eslint \"**/*.{js,ts,tsx}\"",
  33. "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
  34. "prepare": "bob build",
  35. "release": "release-it"
  36. },
  37. "keywords": [
  38. "react-native",
  39. "ios",
  40. "android",
  41. "pdf",
  42. "cross-platform",
  43. "pdf-viewer",
  44. "pdf-document",
  45. "pdf-editor",
  46. "compdfkit"
  47. ],
  48. "repository": {
  49. "type": "git",
  50. "url": "https://github.com/ComPDFKit/compdfkit-pdf-sdk-react-native"
  51. },
  52. "author": "ComPDFKit <youna@compdf.com> (https://github.com/ComPDFKIt)",
  53. "license": "SEE LICENSE IN LICENSE",
  54. "bugs": {
  55. "url": "https://www.compdf.com/support"
  56. },
  57. "homepage": "https://www.compdf.com/",
  58. "publishConfig": {
  59. "registry": "https://registry.npmjs.org/"
  60. },
  61. "devDependencies": {
  62. "@types/react": "*",
  63. "@types/react-native": "*",
  64. "pod-install": "*",
  65. "react": "*",
  66. "react-native": "*",
  67. "react-native-builder-bob": "*",
  68. "release-it": "*",
  69. "typescript": "*"
  70. },
  71. "resolutions": {
  72. "@types/react": "*"
  73. },
  74. "peerDependencies": {
  75. "react": "*",
  76. "react-native": "*"
  77. },
  78. "workspaces": [
  79. "example"
  80. ],
  81. "packageManager": "yarn@3.6.1",
  82. "engines": {
  83. "node": ">= 18.0.0"
  84. },
  85. "jest": {
  86. "preset": "react-native",
  87. "modulePathIgnorePatterns": [
  88. "<rootDir>/example/node_modules",
  89. "<rootDir>/lib/"
  90. ]
  91. },
  92. "commitlint": {
  93. "extends": [
  94. "@commitlint/config-conventional"
  95. ]
  96. },
  97. "release-it": {
  98. "git": {
  99. "commitMessage": "chore: release ${version}",
  100. "tagName": "v${version}"
  101. },
  102. "npm": {
  103. "publish": true
  104. },
  105. "github": {
  106. "release": true
  107. },
  108. "plugins": {
  109. "@release-it/conventional-changelog": {
  110. "preset": "angular"
  111. }
  112. }
  113. },
  114. "eslintConfig": {
  115. "root": true,
  116. "extends": [
  117. "@react-native",
  118. "prettier"
  119. ],
  120. "rules": {
  121. "prettier/prettier": [
  122. "error",
  123. {
  124. "quoteProps": "consistent",
  125. "singleQuote": true,
  126. "tabWidth": 2,
  127. "trailingComma": "es5",
  128. "useTabs": false
  129. }
  130. ]
  131. }
  132. },
  133. "eslintIgnore": [
  134. "node_modules/",
  135. "lib/"
  136. ],
  137. "prettier": {
  138. "quoteProps": "consistent",
  139. "singleQuote": true,
  140. "tabWidth": 2,
  141. "trailingComma": "es5",
  142. "useTabs": false
  143. },
  144. "react-native-builder-bob": {
  145. "source": "src",
  146. "output": "lib",
  147. "targets": [
  148. "commonjs",
  149. "module",
  150. [
  151. "typescript",
  152. {
  153. "project": "tsconfig.build.json"
  154. }
  155. ]
  156. ]
  157. }
  158. }