@alviere/ui 0.13.2 → 0.14.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/LICENSE +201 -0
- package/dist/index.js +181 -104
- 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 +37 -37
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alviere/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "Alviere JS Svelte UI Components - Lightweight payment components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,43 +31,10 @@
|
|
|
31
31
|
"dist",
|
|
32
32
|
"src/styles/themes"
|
|
33
33
|
],
|
|
34
|
-
"scripts": {
|
|
35
|
-
"build": "pnpm build:tokens && vite build --emptyOutDir=true",
|
|
36
|
-
"build:tokens": "node scripts/build-tokens.js",
|
|
37
|
-
"build:components": "pnpm build:tokens && vite build --config vite.components.config.ts --emptyOutDir=false",
|
|
38
|
-
"build:web-components": "pnpm build:tokens && vite build --config vite.web-components.config.ts --emptyOutDir=false",
|
|
39
|
-
"build:all": "pnpm build && pnpm build:components && pnpm build:web-components",
|
|
40
|
-
"dev": "pnpm build:tokens && vite serve --config vite.dev.config.ts",
|
|
41
|
-
"dev:build": "pnpm build:tokens && vite build --watch",
|
|
42
|
-
"dev:server": "node dev/server.js",
|
|
43
|
-
"dev:with-auth": "pnpm generate-jwt && pnpm dev",
|
|
44
|
-
"generate-jwt": "node scripts/fetch-session.js",
|
|
45
|
-
"type-check": "svelte-check --tsconfig ./tsconfig.json",
|
|
46
|
-
"type-check:active": "svelte-check --tsconfig ./tsconfig.active.json",
|
|
47
|
-
"clean": "rm -rf dist",
|
|
48
|
-
"test": "vitest",
|
|
49
|
-
"test:ui": "vitest --ui",
|
|
50
|
-
"test:run": "vitest run",
|
|
51
|
-
"test:coverage": "vitest run --coverage",
|
|
52
|
-
"a11y:install:pa11y-browser": "node scripts/install-pa11y-browser.cjs",
|
|
53
|
-
"a11y:install:browsers": "playwright install chromium && pnpm a11y:install:pa11y-browser",
|
|
54
|
-
"a11y:build": "pnpm build:web-components",
|
|
55
|
-
"a11y:serve": "node scripts/serve-static-a11y.js",
|
|
56
|
-
"a11y:test:unit": "vitest run test/a11y/components.a11y.test.ts --reporter=default --reporter=json --outputFile=coverage/a11y/unit/vitest-results.json",
|
|
57
|
-
"a11y:test:e2e": "playwright test --config a11y/playwright.config.ts",
|
|
58
|
-
"a11y:audit:pa11y": "pnpm a11y:install:pa11y-browser && pa11y-ci --config .pa11yci.json",
|
|
59
|
-
"a11y:audit:lighthouse": "lhci autorun --config=./lighthouserc.json",
|
|
60
|
-
"a11y:report:generate": "node scripts/generate-a11y-report.js",
|
|
61
|
-
"a11y:run:unit": "pnpm a11y:build && pnpm a11y:test:unit",
|
|
62
|
-
"a11y:run:e2e": "pnpm a11y:build && pnpm a11y:test:e2e",
|
|
63
|
-
"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\"",
|
|
64
|
-
"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\"",
|
|
65
|
-
"a11y:all": "pnpm a11y:run:unit && pnpm a11y:run:e2e && pnpm a11y:run:pa11y && pnpm a11y:run:lighthouse && pnpm a11y:report:generate"
|
|
66
|
-
},
|
|
67
34
|
"dependencies": {
|
|
68
|
-
"@alviere/core": "workspace:*",
|
|
69
35
|
"lucide": "^0.544.0",
|
|
70
|
-
"svelte-preprocess": "^6.0.3"
|
|
36
|
+
"svelte-preprocess": "^6.0.3",
|
|
37
|
+
"@alviere/core": "0.14.1"
|
|
71
38
|
},
|
|
72
39
|
"devDependencies": {
|
|
73
40
|
"@axe-core/playwright": "^4.11.1",
|
|
@@ -108,5 +75,38 @@
|
|
|
108
75
|
"type": "git",
|
|
109
76
|
"url": "git+https://github.com/Alviere/web-sdk.git",
|
|
110
77
|
"directory": "packages/ui"
|
|
78
|
+
},
|
|
79
|
+
"scripts": {
|
|
80
|
+
"build": "pnpm build:tokens && vite build --emptyOutDir=true",
|
|
81
|
+
"build:tokens": "node scripts/build-tokens.js",
|
|
82
|
+
"build:components": "pnpm build:tokens && vite build --config vite.components.config.ts --emptyOutDir=false",
|
|
83
|
+
"build:web-components": "pnpm build:tokens && vite build --config vite.web-components.config.ts --emptyOutDir=false",
|
|
84
|
+
"build:all": "pnpm build && pnpm build:components && pnpm build:web-components",
|
|
85
|
+
"dev": "pnpm build:tokens && vite serve --config vite.dev.config.ts",
|
|
86
|
+
"dev:build": "pnpm build:tokens && vite build --watch",
|
|
87
|
+
"dev:server": "node dev/server.js",
|
|
88
|
+
"dev:with-auth": "pnpm generate-jwt && pnpm dev",
|
|
89
|
+
"generate-jwt": "node scripts/fetch-session.js",
|
|
90
|
+
"type-check": "svelte-check --tsconfig ./tsconfig.json",
|
|
91
|
+
"type-check:active": "svelte-check --tsconfig ./tsconfig.active.json",
|
|
92
|
+
"clean": "rm -rf dist",
|
|
93
|
+
"test": "vitest",
|
|
94
|
+
"test:ui": "vitest --ui",
|
|
95
|
+
"test:run": "vitest run",
|
|
96
|
+
"test:coverage": "vitest run --coverage",
|
|
97
|
+
"a11y:install:pa11y-browser": "node scripts/install-pa11y-browser.cjs",
|
|
98
|
+
"a11y:install:browsers": "playwright install chromium && pnpm a11y:install:pa11y-browser",
|
|
99
|
+
"a11y:build": "pnpm build:web-components",
|
|
100
|
+
"a11y:serve": "node scripts/serve-static-a11y.js",
|
|
101
|
+
"a11y:test:unit": "vitest run test/a11y/components.a11y.test.ts --reporter=default --reporter=json --outputFile=coverage/a11y/unit/vitest-results.json",
|
|
102
|
+
"a11y:test:e2e": "playwright test --config a11y/playwright.config.ts",
|
|
103
|
+
"a11y:audit:pa11y": "pnpm a11y:install:pa11y-browser && pa11y-ci --config .pa11yci.json",
|
|
104
|
+
"a11y:audit:lighthouse": "lhci autorun --config=./lighthouserc.json",
|
|
105
|
+
"a11y:report:generate": "node scripts/generate-a11y-report.js",
|
|
106
|
+
"a11y:run:unit": "pnpm a11y:build && pnpm a11y:test:unit",
|
|
107
|
+
"a11y:run:e2e": "pnpm a11y:build && pnpm a11y:test:e2e",
|
|
108
|
+
"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\"",
|
|
109
|
+
"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\"",
|
|
110
|
+
"a11y:all": "pnpm a11y:run:unit && pnpm a11y:run:e2e && pnpm a11y:run:pa11y && pnpm a11y:run:lighthouse && pnpm a11y:report:generate"
|
|
111
111
|
}
|
|
112
|
-
}
|
|
112
|
+
}
|