package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. "packageManager": "yarn@3.6.1",
  79. "engines": {
  80. "node": ">= 18.0.0"
  81. },
  82. "jest": {
  83. "preset": "react-native",
  84. "modulePathIgnorePatterns": [
  85. "<rootDir>/example/node_modules",
  86. "<rootDir>/lib/"
  87. ]
  88. },
  89. "commitlint": {
  90. "extends": [
  91. "@commitlint/config-conventional"
  92. ]
  93. },
  94. "release-it": {
  95. "git": {
  96. "commitMessage": "chore: release ${version}",
  97. "tagName": "v${version}"
  98. },
  99. "npm": {
  100. "publish": true
  101. },
  102. "github": {
  103. "release": true
  104. },
  105. "plugins": {
  106. "@release-it/conventional-changelog": {
  107. "preset": "angular"
  108. }
  109. }
  110. },
  111. "eslintConfig": {
  112. "root": true,
  113. "extends": [
  114. "@react-native",
  115. "prettier"
  116. ],
  117. "rules": {
  118. "prettier/prettier": [
  119. "error",
  120. {
  121. "quoteProps": "consistent",
  122. "singleQuote": true,
  123. "tabWidth": 2,
  124. "trailingComma": "es5",
  125. "useTabs": false
  126. }
  127. ]
  128. }
  129. },
  130. "eslintIgnore": [
  131. "node_modules/",
  132. "lib/"
  133. ],
  134. "prettier": {
  135. "quoteProps": "consistent",
  136. "singleQuote": true,
  137. "tabWidth": 2,
  138. "trailingComma": "es5",
  139. "useTabs": false
  140. },
  141. "react-native-builder-bob": {
  142. "source": "src",
  143. "output": "lib",
  144. "targets": [
  145. "commonjs",
  146. "module",
  147. [
  148. "typescript",
  149. {
  150. "project": "tsconfig.build.json"
  151. }
  152. ]
  153. ]
  154. }
  155. }