Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ indent_size = 4

[*.md]
trim_trailing_whitespace = false

# Picked up natively by ktlint (no Gradle plugin required)
[*.{kt,kts}]
indent_size = 4
ktlint_standard_no-wildcard-imports = enabled
ktlint_standard_filename = disabled
18 changes: 18 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Normalize line endings on checkin
* text=auto eol=lf

# Binary assets — never normalize or diff
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.keystore binary

# Keep generated lockfiles out of diffs and language stats
package-lock.json -diff linguist-generated
example/package-lock.json -diff linguist-generated

# Don't let vendored/example/native code skew the repo language breakdown
example/** linguist-vendored
ios/** linguist-language=Swift
android/** linguist-language=Kotlin
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
2 changes: 2 additions & 0 deletions .swiftformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--swift-version 5.9
--indent 2
1 change: 1 addition & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@
"type": "commonjs",
"main": "build/index.js",
"types": "build/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"types": "./build/index.d.ts",
"default": "./build/index.js"
},
"./package.json": "./package.json"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"files": [
"src",
"build",
Expand Down
Loading