@eid-easy/eideasy-widget 2.172.3-beta.2 → 2.173.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/CHANGELOG.md +2674 -0
- package/README.md +2 -73
- package/dist/full/eideasy-widget.common.js +68189 -0
- package/dist/full/eideasy-widget.umd.js +68200 -0
- package/dist/full/eideasy-widget.umd.min.js +14 -0
- package/dist/full/fonts/verimi-roboto-v20-latin-500.woff +0 -0
- package/dist/full/fonts/verimi-roboto-v20-latin-500.woff2 +0 -0
- package/dist/index.html +305 -0
- package/package.json +111 -58
- package/dist/eideasy-widget.mjs +0 -33250
- package/dist/eideasy-widget.umd.js +0 -4587
- package/dist/favicon.ico +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<p align="center"><a href="https://eideasy.com/" target="_blank" rel="noopener noreferrer"><img width="300" src="https://
|
|
1
|
+
<p align="center"><a href="https://eideasy.com/" target="_blank" rel="noopener noreferrer"><img width="300" src="https://eideasy.com/wp-content/uploads/2020/11/eid-easy-logo-1.png" alt="eID Easy logo"></a></p>
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<a href="https://app.netlify.com/sites/eideasy-widget/deploys"><img src="https://api.netlify.com/api/v1/badges/75cb270d-cc4f-473c-9940-9d6effe6093a/deploy-status" alt="Netlify Status" style="max-width:100%;"></a>
|
|
@@ -13,75 +13,4 @@ to identify users or create electronic signatures through [eID Easy](https://eid
|
|
|
13
13
|
You can see a demo implementation here: [https://demo.eideasy.com/login-widget](https://demo.eideasy.com/login-widget)
|
|
14
14
|
|
|
15
15
|
## Documentation
|
|
16
|
-
The
|
|
17
|
-
|
|
18
|
-
## Customize configuration
|
|
19
|
-
|
|
20
|
-
See [Vite Configuration Reference](https://vite.dev/config/).
|
|
21
|
-
|
|
22
|
-
## Project Setup
|
|
23
|
-
|
|
24
|
-
```sh
|
|
25
|
-
npm install
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### Compile and Hot-Reload for Development
|
|
29
|
-
|
|
30
|
-
```sh
|
|
31
|
-
npm run dev
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### Compile and Minify for Production
|
|
35
|
-
|
|
36
|
-
```sh
|
|
37
|
-
npm run build
|
|
38
|
-
```
|
|
39
|
-
This will build the widget and output the resulting js to the `dist` directory.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
### Demo of the Production Build
|
|
43
|
-
|
|
44
|
-
```sh
|
|
45
|
-
npm run dev:prod-demo
|
|
46
|
-
```
|
|
47
|
-
This will first create a production build of the widget and then start a local server
|
|
48
|
-
to serve the demo page that uses the production build of the widget.
|
|
49
|
-
The demo page mimics the way our customers would use the widget in their own applications.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
|
53
|
-
|
|
54
|
-
```sh
|
|
55
|
-
npm run test:unit
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### Run End-to-End Tests with [Playwright](https://playwright.dev)
|
|
59
|
-
|
|
60
|
-
```sh
|
|
61
|
-
# Install browsers for the first run
|
|
62
|
-
npx playwright install
|
|
63
|
-
|
|
64
|
-
# When testing on CI, must build the project first
|
|
65
|
-
npm run build
|
|
66
|
-
|
|
67
|
-
# Runs the end-to-end tests
|
|
68
|
-
npm run test:e2e
|
|
69
|
-
# Runs the tests only on Chromium
|
|
70
|
-
npm run test:e2e -- --project=chromium
|
|
71
|
-
# Runs the tests of a specific file
|
|
72
|
-
npm run test:e2e -- tests/example.spec.ts
|
|
73
|
-
# Runs the tests in debug mode
|
|
74
|
-
npm run test:e2e -- --debug
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### Lint with [ESLint](https://eslint.org/)
|
|
78
|
-
|
|
79
|
-
```sh
|
|
80
|
-
npm run lint
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### Dev notes
|
|
84
|
-
|
|
85
|
-
index.html is used to demo the widget in development mode.
|
|
86
|
-
prod-build-demo.html is used to demo the widget in production mode.
|
|
87
|
-
|
|
16
|
+
The docs are available at https://eideasy-widget.docs.eideasy.com
|