@wattsoft/auth-app 1.0.0 → 1.0.1

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,14 +1,82 @@
1
1
  {
2
2
  "name": "@wattsoft/auth-app",
3
- "main": "expo-router/entry",
4
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
+ "description": "Reusable authentication components for Expo/React Native apps with Clerk, biometric, Google sign-in, and passkey support",
5
+ "license": "MIT",
6
+ "author": "Wattsoft",
7
+ "homepage": "https://github.com/wattsoft/auth-app",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/wattsoft/auth-app.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/wattsoft/auth-app/issues"
14
+ },
15
+ "main": "dist/index.js",
16
+ "types": "dist/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "default": "./dist/index.js"
21
+ },
22
+ "./components/BiometricSignIn": {
23
+ "types": "./dist/components/BiometricSignIn.d.ts",
24
+ "default": "./dist/components/BiometricSignIn.js"
25
+ },
26
+ "./components/GoogleSignIn": {
27
+ "types": "./dist/components/GoogleSignIn.d.ts",
28
+ "default": "./dist/components/GoogleSignIn.js"
29
+ },
30
+ "./components/Passkey": {
31
+ "types": "./dist/components/Passkey.d.ts",
32
+ "default": "./dist/components/Passkey.js"
33
+ },
34
+ "./components/SignOut": {
35
+ "types": "./dist/components/SignOut.d.ts",
36
+ "default": "./dist/components/SignOut.js"
37
+ },
38
+ "./screens/sign-in": {
39
+ "types": "./dist/app/(app)/sign-in.d.ts",
40
+ "default": "./dist/app/(app)/sign-in.js"
41
+ },
42
+ "./screens/sign-up": {
43
+ "types": "./dist/app/(app)/sign-up.d.ts",
44
+ "default": "./dist/app/(app)/sign-up.js"
45
+ }
46
+ },
47
+ "files": [
48
+ "dist",
49
+ "components",
50
+ "app",
51
+ "assets"
52
+ ],
53
+ "keywords": [
54
+ "react",
55
+ "react-native",
56
+ "expo",
57
+ "authentication",
58
+ "auth",
59
+ "biometric",
60
+ "sign-in",
61
+ "sign-up",
62
+ "clerk",
63
+ "google-sign-in",
64
+ "passkey"
65
+ ],
5
66
  "scripts": {
6
67
  "start": "expo start",
7
68
  "reset-project": "node ./scripts/reset-project.js",
8
69
  "android": "expo run:android",
9
70
  "ios": "expo run:ios",
10
71
  "web": "expo start --web",
11
- "lint": "expo lint"
72
+ "lint": "expo lint",
73
+ "build": "tsc",
74
+ "prepublishOnly": "npm run build"
75
+ },
76
+ "peerDependencies": {
77
+ "react": ">=18.0.0",
78
+ "react-native": ">=0.70.0",
79
+ "expo": ">=50.0.0"
12
80
  },
13
81
  "dependencies": {
14
82
  "@clerk/clerk-expo": "^2.19.25",
package/app.json DELETED
@@ -1,49 +0,0 @@
1
- {
2
- "expo": {
3
- "name": "auth-app",
4
- "slug": "auth-app",
5
- "version": "1.0.0",
6
- "orientation": "portrait",
7
- "icon": "./assets/images/icon.png",
8
- "scheme": "authapp",
9
- "userInterfaceStyle": "automatic",
10
- "newArchEnabled": true,
11
- "ios": {
12
- "supportsTablet": true
13
- },
14
- "android": {
15
- "adaptiveIcon": {
16
- "backgroundColor": "#E6F4FE",
17
- "foregroundImage": "./assets/images/android-icon-foreground.png",
18
- "backgroundImage": "./assets/images/android-icon-background.png",
19
- "monochromeImage": "./assets/images/android-icon-monochrome.png"
20
- },
21
- "edgeToEdgeEnabled": true,
22
- "predictiveBackGestureEnabled": false,
23
- "package": "com.anonymous.authapp"
24
- },
25
- "web": {
26
- "output": "static",
27
- "favicon": "./assets/images/favicon.png"
28
- },
29
- "plugins": [
30
- "expo-router",
31
- [
32
- "expo-splash-screen",
33
- {
34
- "image": "./assets/images/splash-icon.png",
35
- "imageWidth": 200,
36
- "resizeMode": "contain",
37
- "backgroundColor": "#ffffff",
38
- "dark": {
39
- "backgroundColor": "#000000"
40
- }
41
- }
42
- ]
43
- ],
44
- "experiments": {
45
- "typedRoutes": true,
46
- "reactCompiler": true
47
- }
48
- }
49
- }
package/eslint.config.js DELETED
@@ -1,10 +0,0 @@
1
- // https://docs.expo.dev/guides/using-eslint/
2
- const { defineConfig } = require('eslint/config');
3
- const expoConfig = require('eslint-config-expo/flat');
4
-
5
- module.exports = defineConfig([
6
- expoConfig,
7
- {
8
- ignores: ['dist/*'],
9
- },
10
- ]);
package/expo-env.d.ts DELETED
@@ -1,3 +0,0 @@
1
- /// <reference types="expo/types" />
2
-
3
- // NOTE: This file should not be edited and should be in your git ignore
package/tsconfig.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "expo/tsconfig.base",
3
- "compilerOptions": {
4
- "strict": true,
5
- "paths": {
6
- "@/*": [
7
- "./*"
8
- ]
9
- }
10
- },
11
- "include": [
12
- "**/*.ts",
13
- "**/*.tsx",
14
- ".expo/types/**/*.ts",
15
- "expo-env.d.ts"
16
- ]
17
- }