Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 3.79 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "@compdfkit_pdf_sdk/react_native",
"version": "3.2.0",
"description": "ComPDFKit for React Native is a comprehensive SDK that allows you to quickly add PDF functionality to Android, iOS, and React Native applications.",
"main": "./lib/commonjs/src/index.js",
"module": "./lib/module/src/index.js",
"types": "./lib/typescript/src/index.d.ts",
"react-native": "./src/index.tsx",
"source": "./src/index.tsx",
"exports": {
".": {
"types": "./lib/typescript/src/index.d.ts",
"react-native": "./src/index.tsx",
"import": "./lib/module/src/index.js",
"require": "./lib/commonjs/src/index.js",
"default": "./lib/commonjs/src/index.js"
},
"./package.json": "./package.json"
},
"files": [
"app.plugin.js",
"plugin",
"src",
"lib",
"android",
"ios",
"cpp",
"API.md",
"CHANGELOG.md",
"CONFIGURATION.md",
"*.podspec",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!android/src/test",
"!android/src/androidTest",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/CLAUDE.md",
"!**/AGENTS.md",
"!**/.*"
],
"scripts": {
"example": "yarn --cwd example",
"test": "jest",
"test:signature-example": "jest --config jest.signature-example.config.js",
"test:ci": "jest --ci --maxWorkers=2 --coverage",
"ci": "bash tool/ci/all.sh",
"ci:bridge": "node tool/ci/check-native-bridge.mjs --baseline tool/ci/bridge-baseline.json",
"typecheck": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
"build": "del-cli lib && yarn build:commonjs && yarn build:module && yarn build:types",
"build:commonjs": "tsc -p tsconfig.build.commonjs.json",
"build:module": "tsc -p tsconfig.build.module.json",
"build:types": "tsc -p tsconfig.build.types.json",
"prepare": "yarn build",
"release": "yarn prepare && release-it",
"docs": "typedoc",
"docs:html": "typedoc",
"docs:check": "node tool/docs/validate-docs.mjs && typedoc --emit none"
},
"keywords": [
"react-native",
"ios",
"android",
"pdf",
"cross-platform",
"pdf-viewer",
"pdf-document",
"pdf-editor",
"compdfkit"
],
"repository": {
"type": "git",
"url": "https://github.com/ComPDFKit/compdfkit-pdf-sdk-react-native"
},
"author": "ComPDFKit <youna@compdf.com> (https://github.com/ComPDFKit)",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/ComPDFKit/compdfkit-pdf-sdk-react-native/issues"
},
"homepage": "https://www.compdf.com/react-native",
"devDependencies": {
"@react-native/babel-preset": "0.85.3",
"@react-native/eslint-config": "0.85.3",
"@react-native/jest-preset": "0.85.3",
"@react-native/typescript-config": "0.85.3",
"@testing-library/react-native": "^13.3.0",
"@types/jest": "^29.5.0",
"@types/react": "^19.2.0",
"del-cli": "^5.1.0",
"eslint": "^8.19.0",
"jest": "^29.7.0",
"prettier": "2.8.8",
"react": "19.2.3",
"react-native": "0.85.3",
"react-test-renderer": "19.2.3",
"typedoc": "^0.28.14",
"typescript": "5.8.3"
},
"peerDependencies": {
"@expo/config-plugins": ">=7.0.0",
"react": "*",
"react-native": ">=0.76.0"
},
"peerDependenciesMeta": {
"@expo/config-plugins": {
"optional": true
}
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
}
}