@trust-proto/auth-react 0.1.0 → 0.3.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,10 +1,11 @@
1
1
  {
2
2
  "name": "@trust-proto/auth-react",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Liberion Auth Frontend SDK - React authentication widget",
5
5
  "main": "build/index.js",
6
6
  "files": [
7
7
  "build",
8
+ "lib",
8
9
  "README.md",
9
10
  "LICENSE"
10
11
  ],
@@ -27,22 +28,13 @@
27
28
  "widget",
28
29
  "qr-code"
29
30
  ],
30
- "scripts": {
31
- "build": "webpack --mode production --env target=lib",
32
- "build:lib": "webpack --mode production --env target=lib",
33
- "build:pack": "webpack --mode production --config webpack-pack.config.js",
34
- "dev": "webpack serve --mode development --config webpack.config.js",
35
- "lint": "eslint ./src --ext .js,.jsx",
36
- "lint:fix": "eslint --fix ./src --ext .js,.jsx",
37
- "clean": "rm -rf build dist"
38
- },
39
31
  "dependencies": {
40
32
  "@msgpack/msgpack": "^3.1.2",
41
33
  "eruda": "^3.4.3",
42
- "i18next": "^25.6.0",
34
+ "i18next": "^25.7.3",
43
35
  "qr-code-styling": "^1.9.2",
44
- "react-i18next": "^16.2.3",
45
- "react-router": "^7.9.5",
36
+ "react-i18next": "^16.5.0",
37
+ "react-router": "^7.11.0",
46
38
  "styled-components": "^6.1.19"
47
39
  },
48
40
  "peerDependencies": {
@@ -54,28 +46,37 @@
54
46
  "@babel/eslint-parser": "^7.28.5",
55
47
  "@babel/preset-env": "^7.28.5",
56
48
  "@babel/preset-react": "^7.28.5",
57
- "@eslint/compat": "^1.4.1",
49
+ "@eslint/compat": "^2.0.0",
58
50
  "@eslint/eslintrc": "^3.3.1",
59
- "@eslint/js": "^9.39.0",
51
+ "@eslint/js": "^9.39.2",
60
52
  "@svgr/webpack": "^8.1.0",
61
53
  "babel-loader": "^10.0.0",
62
54
  "clean-webpack-plugin": "^4.0.0",
63
55
  "copy-webpack-plugin": "^13.0.1",
64
- "eslint": "^9.39.0",
56
+ "eslint": "^9.39.2",
65
57
  "eslint-plugin-import": "^2.32.0",
66
58
  "eslint-plugin-jsx-a11y": "^6.10.2",
67
59
  "eslint-plugin-react": "^7.37.5",
68
60
  "eslint-plugin-react-hooks": "^7.0.1",
69
61
  "globals": "^16.5.0",
70
62
  "html-webpack-plugin": "^5.6.4",
71
- "react": "^19.2.0",
72
- "react-dom": "^19.2.0",
73
- "terser-webpack-plugin": "^5.3.10",
74
- "webpack": "^5.102.1",
63
+ "react": "^19.2.3",
64
+ "react-dom": "^19.2.3",
65
+ "terser-webpack-plugin": "^5.3.16",
66
+ "webpack": "^5.104.1",
75
67
  "webpack-cli": "^6.0.1",
76
68
  "webpack-dev-server": "^5.2.2"
77
69
  },
78
70
  "publishConfig": {
79
71
  "access": "public"
72
+ },
73
+ "scripts": {
74
+ "build": "npm run build:lib && npm run build:pack",
75
+ "build:lib": "webpack --mode production --env target=lib",
76
+ "build:pack": "webpack --mode production --config webpack-pack.config.js",
77
+ "dev": "webpack serve --mode development --config webpack.config.js",
78
+ "lint": "eslint ./src --ext .js,.jsx",
79
+ "lint:fix": "eslint --fix ./src --ext .js,.jsx",
80
+ "clean": "rm -rf build dist"
80
81
  }
81
- }
82
+ }