This repository was archived by the owner on May 29, 2026. It is now read-only.
forked from software-mansion/enriched-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
218 lines (218 loc) · 6.47 KB
/
Copy pathpackage.json
File metadata and controls
218 lines (218 loc) · 6.47 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"name": "react-native-enriched-markdown",
"version": "0.4.1",
"description": "Markdown Text component for React Native",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
".": {
"source": "./src/index.tsx",
"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",
"android",
"ios",
"cpp",
"*.podspec",
"react-native.config.js",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*",
"app.plugin.js"
],
"scripts": {
"example": "yarn workspace react-native-enriched-markdown-example",
"macos-example": "yarn workspace react-native-enriched-markdown-macos-example",
"harness": "yarn workspace react-native-enriched-markdown-macos-harness",
"harness:pods": "cd examples/macos-harness/macos && LANG=en_US.UTF-8 pod install",
"harness:start": "yarn harness start",
"harness:macos": "yarn harness macos",
"harness:dev": "concurrently --kill-others-on-fail --names metro,macos --prefix-colors blue,magenta \"yarn harness:start\" \"yarn harness:macos\"",
"android:build:release": "cd examples/mobile && npx react-native build-android --mode=release",
"android:test:release": "cd examples/mobile && yarn android --mode release",
"test": "jest",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"lint-clang:ios": "find ios/ \\( -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.mm\" \\) | grep -v -e Pods -e build | xargs npx clang-format -i -n --Werror",
"lint-clang:ios:fix": "find ios/ \\( -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.mm\" \\) | grep -v -e Pods -e build | xargs npx clang-format -i",
"lint-clang:android": "find android/ \\( -iname \"*.h\" -o -iname \"*.cpp\" \\) | grep -v -e build | xargs npx clang-format -i -n --Werror",
"lint-clang:android:fix": "find android/ \\( -iname \"*.h\" -o -iname \"*.cpp\" \\) | grep -v -e build | xargs npx clang-format -i",
"lint-clang": "yarn lint-clang:ios && yarn lint-clang:android",
"lint-clang:fix": "yarn lint-clang:ios:fix && yarn lint-clang:android:fix",
"lint-kotlin": "cd examples/mobile/android && ./gradlew :react-native-enriched-markdown:ktlintCheck",
"lint-kotlin:fix": "cd examples/mobile/android && ./gradlew :react-native-enriched-markdown:ktlintFormat",
"clean": "del-cli android/build examples/mobile/android/build examples/mobile/android/app/build examples/mobile/ios/build examples/macos/macos/build lib",
"prepare": "bob build",
"release": "release-it --only-version"
},
"keywords": [
"react-native",
"ios",
"android",
"markdown"
],
"repository": {
"type": "git",
"url": "git+https://github.com/software-mansion-labs/react-native-enriched-markdown.git"
},
"author": "Gregory Moskaliuk <mosckalyuck@gmail.com> (https://github.com/hryhoriiK97)",
"license": "MIT",
"bugs": {
"url": "https://github.com/software-mansion-labs/react-native-enriched-markdown/issues"
},
"homepage": "https://github.com/software-mansion-labs/react-native-enriched-markdown#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.8.1",
"@eslint/compat": "^1.3.2",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.35.0",
"@expo/config-plugins": "^55.0.6",
"@react-native-community/cli": "20.0.1",
"@react-native/babel-preset": "0.84.1",
"@react-native/eslint-config": "0.84.1",
"@release-it/conventional-changelog": "^10.0.1",
"@types/jest": "^29.5.14",
"@types/react": "^19.2.0",
"clang-format": "^1.8.0",
"commitlint": "^19.8.1",
"concurrently": "^9.2.1",
"del-cli": "^6.0.0",
"eslint": "^9.35.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-ft-flow": "^3.0.11",
"eslint-plugin-prettier": "^5.5.4",
"jest": "^29.7.0",
"lefthook": "^2.0.3",
"prettier": "^3.6.2",
"react": "19.2.3",
"react-native": "0.84.1",
"react-native-builder-bob": "^0.40.18",
"release-it": "^19.0.4",
"turbo": "^2.5.6",
"typescript": "^5.9.2"
},
"peerDependencies": {
"@expo/config-plugins": ">=50.0.0",
"react": "*",
"react-native": "*"
},
"peerDependenciesMeta": {
"@expo/config-plugins": {
"optional": true
}
},
"workspaces": [
"examples/mobile",
"examples/macos",
"examples/macos-harness"
],
"packageManager": "yarn@4.11.0",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/examples/mobile/node_modules",
"<rootDir>/examples/macos/node_modules",
"<rootDir>/lib/"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "angular"
}
}
}
},
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"codegen",
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "EnrichedMarkdownTextSpec",
"type": "components",
"jsSrcsDir": "src",
"outputDir": {
"ios": "ios/generated",
"android": "android/generated"
},
"android": {
"javaPackageName": "com.swmansion.enriched.markdown"
},
"ios": {
"components": {
"EnrichedMarkdownText": {
"className": "EnrichedMarkdownText"
},
"EnrichedMarkdown": {
"className": "EnrichedMarkdown"
}
}
},
"includesGeneratedCode": true
},
"create-react-native-library": {
"type": "fabric-view",
"languages": "kotlin-objc",
"tools": [
"eslint",
"jest",
"lefthook",
"release-it"
],
"version": "0.57.2"
}
}