@wistia/ui 0.0.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/package.json ADDED
@@ -0,0 +1,115 @@
1
+ {
2
+ "name": "@wistia/ui",
3
+ "version": "0.0.1",
4
+ "description": "Wistia UI React component library",
5
+ "type": "module",
6
+ "main": "dist/index.cjs",
7
+ "module": "dist/index.mjs",
8
+ "types": "dist/index.d.cts",
9
+ "sideEffects": false,
10
+ "exports": {
11
+ "./package.json": "./package.json",
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/index.d.ts",
15
+ "default": "./dist/index.mjs"
16
+ },
17
+ "require": {
18
+ "types": "./dist/index.d.cts",
19
+ "default": "./dist/index.cjs"
20
+ }
21
+ }
22
+ },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "scripts": {
27
+ "build": "tsup --dts --config tsup.config.mts",
28
+ "chromatic": "cross-env STORYBOOK_IS_CHROMATIC_BUILD=true chromatic --build-script-name=storybook:build --storybook-base-dir==packages/ui --allow-console-errors",
29
+ "clean": "rm -rf ./dist && echo 'dist directory has been removed'",
30
+ "depcheck": "depcheck",
31
+ "generate": "node ./scripts/generators/generateComponent.mjs",
32
+ "generateIconMap": "node ./scripts/generators/generateIconMap.mjs",
33
+ "prepack": "yarn run build",
34
+ "publint": "publint-check",
35
+ "storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook dev --host localhost --port 6006",
36
+ "storybook:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook build --quiet",
37
+ "test": "NODE_ENV=test vitest run",
38
+ "test:coverage": "yarn run test --coverage=true && open ./coverage/index.html",
39
+ "test:debug": "echo 'open chrome://inspect/#devices' && cross-env NODE_ENV=test vitest --inspect-brk --no-file-parallelism",
40
+ "typecheck": "tsc"
41
+ },
42
+ "peerDependencies": {
43
+ "@types/react": "^18.0 || ^19.0",
44
+ "@types/react-dom": "^18.0 || ^19.0",
45
+ "@types/styled-components": "^5.0 || ^6.0",
46
+ "react": "^18.0 || ^19.0",
47
+ "react-dom": "^18.0 || ^19.0",
48
+ "react-router-dom": "^6.0",
49
+ "styled-components": "^5.0 || ^6.0"
50
+ },
51
+ "dependencies": {
52
+ "@radix-ui/react-tooltip": "^1.1.3",
53
+ "@wistia/type-guards": "^0.6.0",
54
+ "polished": "^4.3.1",
55
+ "react-is": "^18.3.1",
56
+ "throttle-debounce": "^5.0.2",
57
+ "type-fest": "^4.26.1"
58
+ },
59
+ "devDependencies": {
60
+ "@repo/config": "workspace:*",
61
+ "@storybook/addon-a11y": "^8.3.5",
62
+ "@storybook/addon-backgrounds": "^8.3.5",
63
+ "@storybook/addon-controls": "^8.3.5",
64
+ "@storybook/addon-docs": "^8.3.5",
65
+ "@storybook/addon-links": "^8.3.5",
66
+ "@storybook/blocks": "^8.3.5",
67
+ "@storybook/manager-api": "^8.3.5",
68
+ "@storybook/react": "^8.3.5",
69
+ "@storybook/react-vite": "^8.3.5",
70
+ "@storybook/theming": "^8.3.5",
71
+ "@testing-library/dom": "^10.4.0",
72
+ "@testing-library/jest-dom": "^6.6.1",
73
+ "@testing-library/react": "^16.0.1",
74
+ "@testing-library/user-event": "^14.5.2",
75
+ "@types/node": "^22.7.6",
76
+ "@types/react": "^18.3.11",
77
+ "@types/react-dom": "^18.3.1",
78
+ "@types/styled-components": "^5.1.34",
79
+ "@types/throttle-debounce": "^5.0.2",
80
+ "browserslist": "^4.24.0",
81
+ "chromatic": "^11.12.5",
82
+ "cross-env": "^7.0.3",
83
+ "depcheck": "^1.4.7",
84
+ "minimist": "^1.2.8",
85
+ "pascalcase": "^2.0.0",
86
+ "prettier": "^3.3.3",
87
+ "react": "^18.3.1",
88
+ "react-docgen-typescript": "^2.2.2",
89
+ "react-dom": "^18.3.1",
90
+ "react-router-dom": "^6.27.0",
91
+ "signale": "^1.4.0",
92
+ "storybook": "^8.3.5",
93
+ "styled-components": "^5.3.11",
94
+ "tsup": "^8.3.0",
95
+ "typescript": "5.5.4",
96
+ "vite": "^5.4.9",
97
+ "vitest": "^2.1.3",
98
+ "vitest-axe": "^1.0.0-pre.3",
99
+ "vitest-canvas-mock": "^0.3.3",
100
+ "vitest-console": "^0.1.1"
101
+ },
102
+ "engines": {
103
+ "node": ">=20.0.0 || >=22.0.0"
104
+ },
105
+ "author": "Wistia Engineering",
106
+ "license": "UNLICENSED",
107
+ "repository": {
108
+ "type": "git",
109
+ "url": "git+https://github.com/wistia/vhs.git"
110
+ },
111
+ "bugs": {
112
+ "url": "https://github.com/wistia/vhs/issues"
113
+ },
114
+ "homepage": "https://github.com/wistia/vhs#readme"
115
+ }