@ohauthcat/react-native 0.0.0-stage → 0.0.2

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,63 @@
1
1
  {
2
2
  "name": "@ohauthcat/react-native",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.2",
4
+ "description": "Official OhAuthCat end-user sign-in SDK for React Native",
5
+ "license": "SEE LICENSE IN LICENSE",
6
+ "homepage": "https://docs.ohauthcat.com",
7
+ "keywords": [
8
+ "ohauthcat",
9
+ "sso",
10
+ "oidc",
11
+ "react-native",
12
+ "ios",
13
+ "android"
14
+ ],
15
+ "type": "module",
16
+ "sideEffects": false,
17
+ "main": "./dist/index.js",
18
+ "types": "./dist/index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "import": "./dist/index.js",
23
+ "default": "./dist/index.js"
24
+ },
25
+ "./package.json": "./package.json"
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "ios",
30
+ "android/build.gradle",
31
+ "android/src",
32
+ "OhAuthCatReactNative.podspec",
33
+ "react-native.config.cjs",
34
+ "README.md",
35
+ "LICENSE",
36
+ "THIRD_PARTY_LICENSES"
37
+ ],
38
+ "peerDependencies": {
39
+ "react-native": ">=0.72"
40
+ },
41
+ "devDependencies": {
42
+ "@eslint/js": "^10.0.1",
43
+ "@types/node": "24.19.1",
44
+ "eslint": "^10.12.0",
45
+ "prettier": "^3.9.9",
46
+ "typescript": "^6.0.3",
47
+ "typescript-eslint": "^8.71.1",
48
+ "vitest": "^5.0.3"
49
+ },
50
+ "publishConfig": {
51
+ "access": "public",
52
+ "provenance": false
53
+ },
54
+ "scripts": {
55
+ "typecheck": "tsc --noEmit",
56
+ "lint": "eslint .",
57
+ "fmt": "prettier -w .",
58
+ "fmt:check": "prettier --check .",
59
+ "test": "vitest run --pool=threads --maxWorkers=2",
60
+ "build": "tsc -p tsconfig.build.json && node scripts/esm-extensions.mjs dist",
61
+ "check:licenses": "node scripts/check-licenses.mjs ."
62
+ }
6
63
  }
@@ -0,0 +1,12 @@
1
+ module.exports = {
2
+ dependency: {
3
+ platforms: {
4
+ android: {
5
+ sourceDir: "./android",
6
+ packageImportPath: "import com.ohauthcat.reactnative.OhAuthCatPackage;",
7
+ packageInstance: "new OhAuthCatPackage()",
8
+ },
9
+ ios: {},
10
+ },
11
+ },
12
+ };