-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 4.39 KB
/
Copy pathpackage.json
File metadata and controls
134 lines (134 loc) · 4.39 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
134
{
"name": "@workspace-sh/react-native-source-editor",
"version": "0.1.0",
"description": "Native source editor for React Native, wrapping STTextView on iOS/macOS and Sora-Editor on Android.",
"source": "./src/index.ts",
"main": "./lib/module/index.js",
"module": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"types": "./lib/typescript/src/index.d.ts",
"default": "./lib/module/index.js"
},
"./package.json": "./package.json",
"./app.plugin.js": "./app.plugin.js"
},
"files": [
"src",
"lib",
"ios",
"android/build.gradle",
"android/gradle.properties",
"android/src",
"react-native.config.js",
"app.plugin.js",
"*.podspec",
"!ios/build",
"!android/build",
"!**/__tests__",
"!**/.*"
],
"scripts": {
"typecheck": "tsc --noEmit",
"clean": "del-cli lib",
"build": "bob build",
"prepare": "bob build",
"ios:plugin": "gem install cocoapods-spm",
"ios:install": "cd example/expo-app && npm install",
"ios:clean": "rm -rf example/expo-app/ios",
"ios:prebuild": "cd example/expo-app && npx expo prebuild --platform ios",
"ios:start": "cd example/expo-app && npx expo start --dev-client",
"ios:clear": "cd example/expo-app && watchman watch-del-all && npx expo start --clear",
"ios:run": "cd example/expo-app && npx expo run:ios",
"ios:run:device": "cd example/expo-app && npx expo run:ios --device",
"ios:run:device:release": "cd example/expo-app && npx expo run:ios --device --configuration Release",
"ios:dev": "concurrently \"npm run ios:clear\" \"npm run ios:run\"",
"macos:install": "cd example/macos-app && npm install --legacy-peer-deps",
"macos:pods": "cd example/macos-app/macos && pod install",
"macos:clean": "cd example/macos-app/macos && rm -rf Pods Podfile.lock build",
"macos:start": "cd example/macos-app && npx react-native start",
"macos:clear": "cd example/macos-app && watchman watch-del-all && npx react-native start --reset-cache",
"macos:run": "cd example/macos-app && npx react-native run-macos",
"macos:dev": "concurrently \"npm run macos:clear\" \"npm run macos:run\"",
"android:install": "cd example/expo-app && npm install",
"android:clean": "rm -rf example/expo-app/android",
"android:prebuild": "cd example/expo-app && npx expo prebuild --platform android",
"android:start": "cd example/expo-app && npx expo start --dev-client",
"android:clear": "cd example/expo-app && watchman watch-del-all && npx expo start --clear",
"android:run": "cd example/expo-app && npx expo run:android",
"android:run:device": "cd example/expo-app && npx expo run:android --device",
"android:dev": "concurrently \"npm run android:clear\" \"npm run android:run\""
},
"keywords": [
"react-native",
"react-native-macos",
"expo",
"text-editor",
"source-editor",
"STTextView",
"sora-editor",
"ios",
"macos",
"android"
],
"repository": {
"type": "git",
"url": "git+https://github.com/workspace-sh/react-native-source-editor.git"
},
"bugs": {
"url": "https://github.com/workspace-sh/react-native-source-editor/issues"
},
"author": {
"name": "Leslie Owusu-Appiah",
"email": "leslieoa@pm.me",
"url": "https://github.com/leslieoa"
},
"license": "MIT",
"homepage": "https://github.com/workspace-sh/react-native-source-editor#readme",
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"exclude": "**/{__tests__,__fixtures__,__mocks__}/**",
"targets": [
["module", { "esm": true }],
"typescript"
]
},
"dependencies": {
"@expo/config-plugins": "~55.0.8"
},
"devDependencies": {
"@types/react": "~19.1.1",
"concurrently": "^9.1.0",
"del-cli": "^7.0.0",
"react": "19.1.0",
"react-native": "0.81.5",
"react-native-builder-bob": "^0.41.0",
"typescript": "~5.9.2"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"codegenConfig": {
"name": "RNSourceEditorSpec",
"type": "components",
"jsSrcsDir": "src",
"outputDir": {
"ios": "ios/generated"
},
"ios": {
"components": {
"SourceEditor": {
"className": "SourceEditor"
}
}
},
"android": {
"javaPackageName": "sh.workspace.sourceeditor"
},
"includesGeneratedCode": false
}
}