-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
129 lines (129 loc) · 4.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@vector-im/compound-web",
"version": "7.3.0",
"description": "Compound components for the Web",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"style": "./dist/style.css"
},
"./dist/style.css": "./dist/style.css"
},
"types": "./dist/index.d.ts",
"scripts": {
"dev": "storybook dev -p 6006",
"build": "rimraf dist && vite build",
"prepare": "rimraf dist && vite build",
"prettier:format": "npx prettier --write .",
"prettier:check": "npx prettier --check .",
"lint": "yarn lint:js && yarn lint:ts && yarn lint:styles",
"lint:js": "eslint --max-warnings=0 .",
"lint:ts": "tsc --noEmit -p .",
"lint:styles": "npx stylelint 'src/**/*.css'",
"test": "vitest",
"e2e": "playwright test",
"e2e:docker": "docker run --rm --network host --ipc=host --security-opt seccomp=playwright/seccomp_profile.json -v $(pwd)/../:/work/ -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/:/tmp/ --init -it $(docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -q playwright)",
"build-storybook": "storybook build",
"storybook": "storybook dev -p 6006",
"gen:component": "node scripts/genComponent.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vector-im/compound-web.git"
},
"keywords": [
"compound",
"components",
"element",
"matrix.org"
],
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/vector-im/compound/issues"
},
"homepage": "https://github.com/vector-im/compound-web#readme",
"devDependencies": {
"@fontsource/inconsolata": "^5.0.8",
"@fontsource/inter": "^5.0.8",
"@playwright/test": "^1.41.1",
"@storybook/addon-a11y": "^8.1.1",
"@storybook/addon-designs": "8.0.4",
"@storybook/addon-essentials": "^8.1.1",
"@storybook/addon-interactions": "^8.1.1",
"@storybook/addon-links": "^8.1.1",
"@storybook/addon-themes": "^8.1.1",
"@storybook/manager-api": "^8.1.1",
"@storybook/react": "^8.1.1",
"@storybook/react-vite": "^8.1.1",
"@storybook/test": "^8.1.1",
"@testing-library/dom": "^10.3.2",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.1",
"@tsconfig/node20": "^20.1.4",
"@tsconfig/vite-react": "^3.0.0",
"@types/eslint": "^9.0.0",
"@types/node": "^22.0.0",
"@types/react": "^18.2.21",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vector-im/compound-design-tokens": "^2.0.0",
"@vitejs/plugin-react": "^4.0.4",
"@vitest/coverage-v8": "^2.0.0",
"browserslist-to-esbuild": "^2.0.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-matrix-org": "^1.2.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-storybook": "^0.11.0",
"jsdom": "^25.0.0",
"prettier": "3.3.3",
"react": "^18.2.0",
"react-dom": "^18.3.1",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^6.0.0",
"serve": "^14.2.1",
"storybook": "^8.1.1",
"stylelint": "^16.0.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-plugin-defensive-css": "^1.0.0",
"stylelint-use-logical": "^2.1.0",
"stylelint-value-no-unknown-custom-properties": "^6.0.0",
"typescript": "^5.2.2",
"vite": "^5.2.11",
"vite-plugin-dts": "^4.0.0",
"vitest": "^2.0.0"
},
"dependencies": {
"@floating-ui/react": "^0.26.24",
"@radix-ui/react-context-menu": "^2.2.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-form": "^0.1.0",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"classnames": "^2.5.1",
"ts-xor": "^1.3.0",
"vaul": "^1.0.0"
},
"peerDependencies": {
"@fontsource/inconsolata": "^5",
"@fontsource/inter": "^5",
"@types/react": "*",
"@vector-im/compound-design-tokens": ">=1.6.1 <3.0.0",
"react": "^18"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
}