@neuctra/authix 1.1.6 → 1.1.8

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.
Files changed (1) hide show
  1. package/package.json +36 -32
package/package.json CHANGED
@@ -1,25 +1,28 @@
1
1
  {
2
2
  "name": "@neuctra/authix",
3
- "version": "1.1.6",
4
- "description": "Authentication SDK and UI components library for React with TailwindCSS",
3
+ "version": "1.1.8",
4
+ "description": "Universal authentication SDK and UI components for React (16–19) + TailwindCSS",
5
5
  "author": "Taha Asif",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
- "main": "dist/neuctra-authix.cjs.js",
9
- "module": "dist/neuctra-authix.es.js",
10
- "types": "dist/index.d.ts",
8
+ "main": "./dist/index.cjs.js",
9
+ "module": "./dist/index.es.js",
10
+ "types": "./dist/index.d.ts",
11
11
  "exports": {
12
12
  ".": {
13
- "import": "./dist/neuctra-authix.es.js",
14
- "require": "./dist/neuctra-authix.cjs.js"
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.es.js",
15
+ "require": "./dist/index.cjs.js"
15
16
  },
16
17
  "./react": {
17
- "import": "./dist/react/index.js",
18
- "types": "./dist/react/index.d.ts"
18
+ "types": "./dist/react/index.d.ts",
19
+ "import": "./dist/react/index.es.js",
20
+ "require": "./dist/react/index.cjs.js"
19
21
  },
20
22
  "./sdk": {
21
- "import": "./dist/sdk/index.js",
22
- "types": "./dist/sdk/index.d.ts"
23
+ "types": "./dist/sdk/index.d.ts",
24
+ "import": "./dist/sdk/index.es.js",
25
+ "require": "./dist/sdk/index.cjs.js"
23
26
  }
24
27
  },
25
28
  "files": [
@@ -27,39 +30,40 @@
27
30
  ],
28
31
  "scripts": {
29
32
  "dev": "vite",
30
- "build": "vite build && tsc --emitDeclarationOnly",
33
+ "build": "npm run clean && vite build && tsc --emitDeclarationOnly",
34
+ "clean": "rimraf dist",
31
35
  "preview": "vite preview",
32
- "clean": "rm -rf dist",
33
36
  "release": "npm publish --access public"
34
37
  },
35
- "keywords": [
36
- "ui-components",
37
- "react",
38
- "vue",
39
- "tailwind",
40
- "vite",
41
- "library",
42
- "authentication",
43
- "sdk",
44
- "jwt",
45
- "otp"
46
- ],
38
+ "peerDependencies": {
39
+ "react": ">=16.8.0",
40
+ "react-dom": ">=16.8.0"
41
+ },
47
42
  "devDependencies": {
48
43
  "@tailwindcss/vite": "^4.1.13",
49
- "@types/node": "^20.0.0",
44
+ "@types/node": "^20.11.0",
50
45
  "@types/react": "^18.2.48",
51
46
  "@types/react-dom": "^18.2.18",
52
47
  "@vitejs/plugin-react": "^5.0.3",
53
- "@vitejs/plugin-vue": "^6.0.1",
54
48
  "autoprefixer": "^10.4.21",
55
49
  "axios": "^1.12.2",
56
50
  "lucide-react": "^0.544.0",
57
- "lucide-vue-next": "^0.544.0",
58
51
  "postcss": "^8.5.6",
59
52
  "tailwindcss": "^4.1.13",
60
- "typescript": "^5.9.2",
53
+ "typescript": "^5.6.3",
61
54
  "vite": "^7.1.7",
62
- "react": "^19.2.0",
63
- "react-dom": "^19.2.0"
64
- }
55
+ "rimraf": "^5.0.5"
56
+ },
57
+ "keywords": [
58
+ "ui-components",
59
+ "react",
60
+ "tailwind",
61
+ "vite",
62
+ "library",
63
+ "auth",
64
+ "authentication",
65
+ "jwt",
66
+ "otp",
67
+ "sdk"
68
+ ]
65
69
  }