@supermetry/react-native 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,72 @@
1
1
  {
2
2
  "name": "@supermetry/react-native",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "React Native SDK for Supermetry self-hosted analytics",
5
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/velixio/supermetry.git",
9
+ "directory": "sdk/react-native"
10
+ },
11
+ "homepage": "https://github.com/velixio/supermetry/tree/main/sdk/react-native#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/velixio/supermetry/issues"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public",
17
+ "provenance": true
18
+ },
19
+ "type": "module",
20
+ "main": "./dist/index.cjs",
21
+ "module": "./dist/index.js",
22
+ "types": "./dist/index.d.ts",
23
+ "react-native": "./dist/index.js",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "react-native": "./dist/index.js",
28
+ "import": "./dist/index.js",
29
+ "require": "./dist/index.cjs"
30
+ },
31
+ "./package.json": "./package.json"
32
+ },
33
+ "files": [
34
+ "dist",
35
+ "README.md",
36
+ "LICENSE",
37
+ "NOTICE"
38
+ ],
39
+ "sideEffects": false,
40
+ "keywords": [
41
+ "analytics",
42
+ "supermetry",
43
+ "react-native",
44
+ "mobile"
45
+ ],
46
+ "scripts": {
47
+ "build": "rm -rf dist && bun build src/index.ts --outfile dist/index.js --format esm --target browser --packages external && bun build src/index.ts --outfile dist/index.cjs --format cjs --target browser --packages external && tsc -p tsconfig.build.json",
48
+ "package:check": "node ../scripts/check-packages.mjs react-native",
49
+ "prepack": "bun run build",
50
+ "test": "bun test",
51
+ "typecheck": "tsc --noEmit"
52
+ },
53
+ "peerDependencies": {
54
+ "@react-native-async-storage/async-storage": ">=1.17",
55
+ "react": ">=17",
56
+ "react-native": ">=0.70"
57
+ },
58
+ "peerDependenciesMeta": {
59
+ "@react-native-async-storage/async-storage": {
60
+ "optional": true
61
+ }
62
+ },
63
+ "devDependencies": {
64
+ "@types/bun": "^1.3.1",
65
+ "@types/react": "^19.0.0",
66
+ "@types/react-dom": "^19.0.0",
67
+ "react": "^19.0.0",
68
+ "react-dom": "^19.0.0",
69
+ "react-native": "^0.87.1",
70
+ "typescript": "^5.9.3"
71
+ }
72
+ }