|
1 | 1 | { |
2 | | - "name": "element-web-shared-components", |
3 | | - "version": "1.12.1", |
| 2 | + "name": "@element-hq/web-shared-components", |
| 3 | + "version": "0.0.0-test.5", |
4 | 4 | "description": "Shared components for Element", |
5 | 5 | "author": "New Vector Ltd.", |
6 | 6 | "repository": { |
7 | 7 | "type": "git", |
8 | 8 | "url": "https://github.com/element-hq/element-web" |
9 | 9 | }, |
10 | | - "license": "SEE LICENSE IN README.md", |
| 10 | + "exports": { |
| 11 | + ".": { |
| 12 | + "require": { |
| 13 | + "style": "./dist/element-web-shared-components.css", |
| 14 | + "types": "./dist/element-web-shared-components.d.ts", |
| 15 | + "default": "./dist/element-web-shared-components.umd.js" |
| 16 | + }, |
| 17 | + "import": { |
| 18 | + "style": "./dist/element-web-shared-components.css", |
| 19 | + "types": "./dist/element-web-shared-components.d.ts", |
| 20 | + "default": "./dist/element-web-shared-components.mjs" |
| 21 | + } |
| 22 | + } |
| 23 | + }, |
| 24 | + "types": "dist/element-web-shared-components.d.ts", |
11 | 25 | "files": [ |
12 | | - "lib", |
| 26 | + "dist", |
13 | 27 | "src", |
14 | 28 | "LICENSE", |
15 | 29 | "README.md", |
|
26 | 40 | "test:storybook:ci": "concurrently -k -s first -n \"SB,TEST\" \"yarn storybook --no-open\" \"wait-on tcp:6007 && yarn test-storybook --url http://localhost:6007/ --ci --maxWorkers=2\"", |
27 | 41 | "test:storybook:update": "playwright-screenshots --entrypoint yarn --with-node-modules && playwright-screenshots --entrypoint /work/node_modules/.bin/test-storybook --with-node-modules --url http://host.docker.internal:6007/ --updateSnapshot" |
28 | 42 | }, |
29 | | - "dependencies": {}, |
| 43 | + "dependencies": { |
| 44 | + "matrix-web-i18n": "^3.4.0", |
| 45 | + "patch-package": "^8.0.1" |
| 46 | + }, |
30 | 47 | "devDependencies": { |
31 | 48 | "@storybook/addon-a11y": "^9.1.10", |
32 | 49 | "@storybook/addon-designs": "^10.0.2", |
|
36 | 53 | "@storybook/test-runner": "^0.23.0", |
37 | 54 | "concurrently": "^9.2.1", |
38 | 55 | "eslint": "8", |
| 56 | + "jest-image-snapshot": "^6.5.1", |
39 | 57 | "eslint-plugin-storybook": "^9.1.10", |
40 | 58 | "jest-image-snapshot": "^6.5.1", |
41 | 59 | "patch-package": "^8.0.1", |
42 | 60 | "prettier": "^3.6.2", |
43 | 61 | "storybook": "^9.1.10", |
44 | 62 | "typescript": "^5.9.3", |
45 | 63 | "vite": "^7.1.9", |
| 64 | + "vite-plugin-dts": "^4.5.4", |
46 | 65 | "vite-plugin-node-polyfills": "^0.24.0" |
47 | 66 | }, |
48 | 67 | "engines": { |
|
0 commit comments