-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
198 lines (198 loc) · 5.58 KB
/
package.json
File metadata and controls
198 lines (198 loc) · 5.58 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
{
"name": "@sqliteai/sqlite-sync-react-native",
"version": "0.9.112",
"description": "Offline-first React Native library with automatic sqlite-sync powered by SQLite Cloud",
"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"
},
"./backgroundSync": {
"source": "./src/core/backgroundSync.ts",
"types": "./lib/typescript/src/core/backgroundSync.d.ts",
"default": "./lib/module/core/backgroundSync.js"
},
"./package.json": "./package.json"
},
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"*.podspec",
"react-native.config.js",
"ios/**.xcframework",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"expo:example": "yarn workspace @sqliteai/sqlite-sync-react-native-example-sync-demo-expo",
"bare:example": "yarn workspace @sqliteai/sqlite-sync-react-native-example-sync-demo-bare",
"clean": "del-cli lib",
"clean:all": "del-cli lib && yarn clean && yarn expo:example clean && yarn bare:example clean && rm -rf node_modules examples/sync-demo-expo/node_modules examples/sync-demo-bare/node_modules",
"clean:expo:ios": "yarn expo:example clean:ios",
"clean:expo:android": "yarn expo:example clean:android",
"clean:bare:ios": "yarn bare:example clean:ios",
"clean:bare:android": "yarn bare:example clean:android",
"expo:ios": "yarn install && yarn prepare && yarn expo:example ios",
"expo:ios:device": "yarn install && yarn prepare && yarn expo:example ios:device",
"expo:android": "yarn install && yarn prepare && yarn expo:example android",
"expo:android:device": "yarn install && yarn prepare && yarn expo:example android:device",
"bare:ios": "yarn install && yarn prepare && yarn bare:example ios",
"bare:ios:device": "yarn install && yarn prepare && yarn bare:example ios:device",
"bare:android": "yarn install && yarn prepare && yarn bare:example android",
"bare:android:device": "yarn install && yarn prepare && yarn bare:example android:device",
"prepare": "./setup.sh && bob build",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"release": "release-it --only-version",
"test": "jest"
},
"keywords": [
"react-native",
"ios",
"android",
"sqlite-sync",
"sqlite",
"offline-first"
],
"repository": {
"type": "git",
"url": "git+https://github.com/sqliteai/sqlite-sync-react-native.git"
},
"author": "SQLite Cloud <support@sqlitecloud.io> (https://www.sqlite.ai/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/sqliteai/sqlite-sync-react-native/issues"
},
"homepage": "https://github.com/sqliteai/sqlite-sync-react-native#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@eslint/compat": "^1.3.2",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.35.0",
"@op-engineering/op-sqlite": "^15.1.14",
"@react-native-community/netinfo": "^11.4.1",
"@react-native/babel-preset": "0.81.1",
"@react-native/eslint-config": "^0.83.0",
"@release-it/conventional-changelog": "^10.0.1",
"@types/jest": "^29.5.14",
"@types/react": "^19.1.12",
"del-cli": "^6.0.0",
"eslint": "^9.35.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"jest": "^29.7.0",
"prettier": "^2.8.8",
"react": "19.1.0",
"react-native": "0.81.5",
"react-native-builder-bob": "^0.40.16",
"release-it": "^19.0.4",
"typescript": "^5.9.2"
},
"peerDependencies": {
"@op-engineering/op-sqlite": "^15.1.14",
"@react-native-community/netinfo": "^11.0.0",
"expo-constants": "*",
"expo-notifications": "*",
"expo-secure-store": "*",
"expo-task-manager": "*",
"react": "*",
"react-native": "*"
},
"peerDependenciesMeta": {
"expo-constants": {
"optional": true
},
"expo-notifications": {
"optional": true
},
"expo-secure-store": {
"optional": true
},
"expo-task-manager": {
"optional": true
}
},
"workspaces": [
"examples/sync-demo-expo",
"examples/sync-demo-bare"
],
"packageManager": "yarn@4.11.0",
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "angular"
}
}
}
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/examples/sync-demo-expo/node_modules",
"<rootDir>/examples/sync-demo-bare/node_modules",
"<rootDir>/lib/"
]
},
"create-react-native-library": {
"languages": "js",
"type": "library",
"tools": [
"eslint",
"release-it",
"jest"
],
"version": "0.55.1"
}
}