@reticular/speakable 1.4.0 → 1.6.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/dist/index.d.ts +116 -1
- package/dist/index.js +310 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +340 -0
- package/dist/mcp.js.map +1 -1
- package/dist/storybook/dist/chunk-CL3DJBD7.js +40 -0
- package/dist/storybook/dist/index.js +12 -0
- package/dist/storybook/dist/manager.js +302 -0
- package/dist/storybook/dist/preset.js +38 -0
- package/dist/storybook/dist/preview.js +2129 -0
- package/package.json +29 -3
package/package.json
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reticular/speakable",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "CLI tool for analyzing HTML accessibility announcements",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./storybook": "./dist/storybook/preset.js"
|
|
14
|
+
},
|
|
8
15
|
"files": [
|
|
9
16
|
"dist"
|
|
10
17
|
],
|
|
@@ -13,11 +20,16 @@
|
|
|
13
20
|
"speakable-mcp": "dist/mcp.js"
|
|
14
21
|
},
|
|
15
22
|
"scripts": {
|
|
16
|
-
"build": "tsup",
|
|
23
|
+
"build": "tsup && npm run build:addon",
|
|
24
|
+
"build:addon": "npm run build --prefix addon-speakable && cp -r addon-speakable/dist dist/storybook",
|
|
17
25
|
"dev": "tsup --watch",
|
|
18
26
|
"test": "vitest run",
|
|
19
27
|
"test:watch": "vitest",
|
|
20
|
-
"test:coverage": "vitest run --coverage"
|
|
28
|
+
"test:coverage": "vitest run --coverage",
|
|
29
|
+
"storybook": "npm run build --prefix addon-speakable && concurrently -n addon,storybook -c blue,magenta \"npm run dev --prefix addon-speakable\" \"storybook dev -p 6006\"",
|
|
30
|
+
"build-storybook": "storybook build",
|
|
31
|
+
"test:a11y": "node --loader ts-node/esm stories/speakable-test.ts",
|
|
32
|
+
"test:a11y:ci": "vitest run tests/multiselect-a11y.test.ts"
|
|
21
33
|
},
|
|
22
34
|
"keywords": [
|
|
23
35
|
"accessibility",
|
|
@@ -39,10 +51,16 @@
|
|
|
39
51
|
"url": "https://github.com/R3TICULAR/AnnounceKit/issues"
|
|
40
52
|
},
|
|
41
53
|
"devDependencies": {
|
|
54
|
+
"@storybook/addon-a11y": "^8.6.18",
|
|
55
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
56
|
+
"@storybook/html": "^8.6.18",
|
|
57
|
+
"@storybook/html-vite": "^8.6.18",
|
|
42
58
|
"@types/jsdom": "^28.0.1",
|
|
43
59
|
"@types/node": "^20.0.0",
|
|
44
60
|
"@vitest/coverage-v8": "^3.1.0",
|
|
61
|
+
"concurrently": "^10.0.4",
|
|
45
62
|
"fast-check": "^3.15.0",
|
|
63
|
+
"storybook": "^8.6.18",
|
|
46
64
|
"tsup": "^8.5.0",
|
|
47
65
|
"typescript": "^5.3.0",
|
|
48
66
|
"vitest": "^3.1.0"
|
|
@@ -53,5 +71,13 @@
|
|
|
53
71
|
"jsdom": "^23.0.0",
|
|
54
72
|
"picocolors": "^1.1.1",
|
|
55
73
|
"zod": "^3.24.0"
|
|
74
|
+
},
|
|
75
|
+
"peerDependencies": {
|
|
76
|
+
"storybook": "^8.0.0"
|
|
77
|
+
},
|
|
78
|
+
"peerDependenciesMeta": {
|
|
79
|
+
"storybook": {
|
|
80
|
+
"optional": true
|
|
81
|
+
}
|
|
56
82
|
}
|
|
57
83
|
}
|