@alviere/ui 0.11.2 → 0.12.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/README.md +15 -0
- package/dist/index.js +1601 -435
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/web-components.js +1 -1
- package/dist/web-components.js.map +1 -1
- package/package.json +24 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alviere/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Alviere JS Svelte UI Components - Lightweight payment components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,9 +34,12 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"lucide": "^0.544.0",
|
|
36
36
|
"svelte-preprocess": "^6.0.3",
|
|
37
|
-
"@alviere/core": "0.
|
|
37
|
+
"@alviere/core": "0.12.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
+
"@axe-core/playwright": "^4.11.1",
|
|
41
|
+
"@lhci/cli": "^0.15.1",
|
|
42
|
+
"@playwright/test": "^1.58.2",
|
|
40
43
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
41
44
|
"@testing-library/jest-dom": "^6.9.1",
|
|
42
45
|
"@testing-library/svelte": "^5.2.4",
|
|
@@ -44,18 +47,22 @@
|
|
|
44
47
|
"@types/node": "^20.0.0",
|
|
45
48
|
"@vitest/coverage-v8": "^3.2.4",
|
|
46
49
|
"@vitest/ui": "^3.2.4",
|
|
50
|
+
"axe-core": "^4.11.1",
|
|
47
51
|
"dotenv": "^17.2.3",
|
|
48
52
|
"express": "^5.1.0",
|
|
49
53
|
"jsdom": "^26.1.0",
|
|
50
54
|
"node-fetch": "^2.7.0",
|
|
55
|
+
"pa11y-ci": "^4.1.0",
|
|
51
56
|
"querystring": "^0.2.1",
|
|
52
57
|
"sass": "^1.89.2",
|
|
58
|
+
"start-server-and-test": "^2.1.5",
|
|
53
59
|
"svelte": "^5.37.1",
|
|
54
60
|
"svelte-check": "^4.3.0",
|
|
55
61
|
"typescript": "^5.8.3",
|
|
56
62
|
"vite": "^6.3.5",
|
|
57
63
|
"vite-plugin-dts": "^4.5.4",
|
|
58
|
-
"vitest": "^3.2.4"
|
|
64
|
+
"vitest": "^3.2.4",
|
|
65
|
+
"vitest-axe": "^0.1.0"
|
|
59
66
|
},
|
|
60
67
|
"peerDependencies": {
|
|
61
68
|
"svelte": "^4.0.0 || ^5.0.0"
|
|
@@ -86,6 +93,19 @@
|
|
|
86
93
|
"test": "vitest",
|
|
87
94
|
"test:ui": "vitest --ui",
|
|
88
95
|
"test:run": "vitest run",
|
|
89
|
-
"test:coverage": "vitest run --coverage"
|
|
96
|
+
"test:coverage": "vitest run --coverage",
|
|
97
|
+
"a11y:install:browsers": "playwright install chromium",
|
|
98
|
+
"a11y:build": "pnpm build:web-components",
|
|
99
|
+
"a11y:serve": "node scripts/serve-static-a11y.js",
|
|
100
|
+
"a11y:test:unit": "vitest run test/a11y/components.a11y.test.ts --reporter=default --reporter=json --outputFile=coverage/a11y/unit/vitest-results.json",
|
|
101
|
+
"a11y:test:e2e": "playwright test --config a11y/playwright.config.ts",
|
|
102
|
+
"a11y:audit:pa11y": "pa11y-ci --config .pa11yci.json",
|
|
103
|
+
"a11y:audit:lighthouse": "lhci autorun --config=./lighthouserc.json",
|
|
104
|
+
"a11y:report:generate": "node scripts/generate-a11y-report.js",
|
|
105
|
+
"a11y:run:unit": "pnpm a11y:build && pnpm a11y:test:unit",
|
|
106
|
+
"a11y:run:e2e": "pnpm a11y:build && pnpm a11y:test:e2e",
|
|
107
|
+
"a11y:run:pa11y": "pnpm a11y:build && start-server-and-test \"pnpm a11y:serve\" \"http://127.0.0.1:4173/a11y/fixtures/basic-components.html\" \"pnpm a11y:audit:pa11y\"",
|
|
108
|
+
"a11y:run:lighthouse": "pnpm a11y:build && start-server-and-test \"pnpm a11y:serve\" \"http://127.0.0.1:4173/a11y/fixtures/basic-components.html\" \"pnpm a11y:audit:lighthouse\"",
|
|
109
|
+
"a11y:all": "pnpm a11y:run:unit && pnpm a11y:run:e2e && pnpm a11y:run:pa11y && pnpm a11y:run:lighthouse && pnpm a11y:report:generate"
|
|
90
110
|
}
|
|
91
111
|
}
|