@ciromaciel/auth-react 1.0.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 ADDED
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "@ciromaciel/auth-react",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "description": "Auth SDK for React with JWT, Mantine UI components, and full authentication flows",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.esm.js",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.esm.js",
16
+ "require": "./dist/index.js"
17
+ }
18
+ },
19
+ "scripts": {
20
+ "build": "rollup -c",
21
+ "dev": "rollup -c -w",
22
+ "prepublishOnly": "bun run build",
23
+ "release": "semantic-release",
24
+ "release:dry-run": "semantic-release --dry-run",
25
+ "test": "bun run tests/redirect.test.mjs && bun run tests/revalidate.test.mjs && bun run tests/guest-only.test.jsx && bun run tests/terms-notice.test.jsx && bun run tests/impersonation-banner.test.jsx && bun run tests/identity-truth.test.mjs && bun run tests/identity-wipe.test.mjs && bun run tests/identity-event.test.mjs && bun run tests/impersonation-banner-layout.test.jsx && bun run tests/signout-guard.test.mjs && bun run tests/social.test.mjs"
26
+ },
27
+ "peerDependencies": {
28
+ "react": "^18.0.0 || ^19.0.0",
29
+ "react-dom": "^18.0.0 || ^19.0.0",
30
+ "react-router-dom": "^6.0.0 || ^7.0.0",
31
+ "@mantine/core": "^8.0.0",
32
+ "@mantine/form": "^8.0.0",
33
+ "@mantine/hooks": "^8.0.0",
34
+ "@tabler/icons-react": "^3.0.0",
35
+ "zustand": "^5.0.0"
36
+ },
37
+ "peerDependenciesMeta": {
38
+ "@mantine/core": {
39
+ "optional": true
40
+ },
41
+ "@mantine/form": {
42
+ "optional": true
43
+ },
44
+ "@mantine/hooks": {
45
+ "optional": true
46
+ },
47
+ "@tabler/icons-react": {
48
+ "optional": true
49
+ },
50
+ "zustand": {
51
+ "optional": false
52
+ }
53
+ },
54
+ "devDependencies": {
55
+ "@babel/core": "^7.23.6",
56
+ "@babel/preset-react": "^7.23.3",
57
+ "@rollup/plugin-babel": "^6.0.4",
58
+ "@rollup/plugin-commonjs": "^25.0.7",
59
+ "@rollup/plugin-image": "^3.0.3",
60
+ "@rollup/plugin-node-resolve": "^15.2.3",
61
+ "@semantic-release/changelog": "^6.0.3",
62
+ "@semantic-release/git": "^10.0.1",
63
+ "@semantic-release/github": "^11.0.3",
64
+ "@semantic-release/npm": "^12.0.1",
65
+ "conventional-changelog-conventionalcommits": "^9.0.0",
66
+ "rollup": "^4.9.1",
67
+ "rollup-plugin-peer-deps-external": "^2.2.4",
68
+ "semantic-release": "^24.2.5",
69
+ "zustand": "^5.0.9"
70
+ },
71
+ "repository": {
72
+ "type": "git",
73
+ "url": "https://github.com/riligar-infrastructure/auth",
74
+ "directory": "packages/auth-react"
75
+ },
76
+ "publishConfig": {
77
+ "access": "public"
78
+ },
79
+ "keywords": [
80
+ "react",
81
+ "auth",
82
+ "authentication",
83
+ "sdk",
84
+ "riligar"
85
+ ],
86
+ "author": "Riligar",
87
+ "license": "Unlicense"
88
+ }