-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 4.26 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 4.26 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
{
"name": "@apollohg/react-native-prose-editor",
"version": "0.5.25",
"description": "Native rich text editor with Rust core for React Native",
"license": "Apache-2.0",
"homepage": "https://github.com/apollohg/react-native-prose-editor",
"repository": {
"type": "git",
"url": "git+https://github.com/apollohg/react-native-prose-editor.git"
},
"bugs": {
"url": "https://github.com/apollohg/react-native-prose-editor/issues"
},
"main": "dist/index.js",
"module": "dist/index.js",
"react-native": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"react-native": "./dist/index.js",
"default": "./dist/index.js"
},
"./app.plugin": "./app.plugin.js",
"./app.plugin.js": "./app.plugin.js"
},
"private": false,
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepack": "npm run build",
"test": "jest --runInBand --watchman=false",
"bench:rust": "cargo bench --manifest-path rust/editor-core/Cargo.toml --bench perf_suite --",
"bench:rust:quick": "cargo bench --manifest-path rust/editor-core/Cargo.toml --bench perf_suite -- --quick",
"typecheck": "tsc --noEmit",
"sync:version": "node scripts/sync-version.mjs",
"publish:prepare": "bash ./scripts/prepare-publish.sh",
"version": "node scripts/sync-version.mjs",
"android:compile": "cd example/android && ./gradlew :apollohg-react-native-prose-editor:compileDebugKotlin",
"android:test": "cd example/android && ./gradlew :apollohg-react-native-prose-editor:testDebugUnitTest",
"android:test:perf": "cd example/android && ./gradlew :apollohg-react-native-prose-editor:testDebugUnitTest -PapollohgShowPerfTestOutput=true --tests com.apollohg.editor.NativePerformanceTest",
"android:test:device": "bash ./scripts/run-android-on-device.sh",
"android:test:ime:device": "bash ./scripts/run-android-on-device.sh --class com.apollohg.editor.NativeDeviceImeRegressionTest",
"android:test:perf:device": "bash ./scripts/run-android-on-device.sh --class com.apollohg.editor.NativeDevicePerformanceTest",
"ios:test": "bash ./scripts/run-ios-tests.sh",
"ios:test:perf": "bash ./scripts/run-ios-tests.sh -only-testing:NativeEditorTests/NativePerformanceTests",
"ios:test:device": "bash ./scripts/run-ios-on-device.sh",
"ios:test:perf:device": "bash ./scripts/run-ios-on-device.sh -only-testing:NativeEditorTests/NativePerformanceTests",
"android:assemble": "cd example/android && ./gradlew app:assembleDebug -x lint -x test --configure-on-demand --build-cache -PreactNativeDevServerPort=8081 -PreactNativeArchitectures=arm64-v8a",
"example:prebuild": "npm --prefix example run prebuild",
"example:start": "npm --prefix example start",
"example:ios": "npm --prefix example run ios",
"example:android": "npm --prefix example run android",
"build:rust": "cd rust && bash build-ios.sh && bash build-android.sh && bash generate-bindings.sh",
"build:rust:ios": "cd rust && bash build-ios.sh && bash generate-bindings.sh",
"build:rust:android": "cd rust && bash build-android.sh && bash generate-bindings.sh"
},
"peerDependencies": {
"@expo/vector-icons": ">=14.0.0",
"expo": ">=52.0.0",
"react": ">=18.0.0",
"react-native": ">=0.76.0"
},
"devDependencies": {
"@testing-library/react-native": "^13.3.3",
"@types/jest": "29.5.14",
"@types/react": "^19.2.14",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"react-test-renderer": "^19.1.0",
"typescript": "^5.9.3",
"prettier": "^3.8.1"
},
"files": [
"README.md",
"LICENSE",
"app.plugin.js",
"dist",
"android/build.gradle",
"android/consumer-rules.pro",
"android/src/main",
"ios/*.swift",
"ios/*.h",
"ios/*.modulemap",
"ios/*.podspec",
"ios/editor_coreFFI",
"ios/EditorCore.xcframework",
"rust/android",
"rust/bindings/kotlin",
"expo-module.config.json"
]
}