-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
137 lines (137 loc) · 4.45 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
130
131
132
133
134
135
136
137
{
"name": "@vector-im/compound-web",
"version": "4.4.1",
"description": "Compound components for the Web",
"type": "module",
"main": "./dist/compound-web.js",
"module": "./dist/compound-web.js",
"exports": {
".": {
"require": "./dist/compound-web.cjs",
"import": "./dist/compound-web.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.1",
"@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/react": "^8.1.1",
"@storybook/react-vite": "^8.1.1",
"@storybook/test": "^8.1.1",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@tsconfig/node18": "^18.2.2",
"@tsconfig/vite-react": "^2.0.1",
"@types/eslint": "^8.44.2",
"@types/node": "^20.6.2",
"@types/react": "^18.2.21",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"@vector-im/compound-design-tokens": "^1.2.0",
"@vitejs/plugin-react": "^4.0.4",
"@vitest/coverage-v8": "^0.34.4",
"browserslist-to-esbuild": "^1.2.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.6.13",
"jsdom": "^22.1.0",
"prettier": "3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^5.0.1",
"serve": "^14.2.1",
"storybook": "^8.1.1",
"stylelint": "^15.10.3",
"stylelint-config-standard": "^34.0.0",
"stylelint-plugin-defensive-css": "^0.9.1",
"stylelint-use-logical": "^2.1.0",
"stylelint-value-no-unknown-custom-properties": "^4.0.0",
"typescript": "^5.2.2",
"vite": "^5.2.11",
"vite-plugin-dts": "^3.5.3",
"vite-plugin-svgr": "^3.2.0",
"vitest": "^1.6.0"
},
"dependencies": {
"@floating-ui/react": "^0.26.9",
"@floating-ui/react-dom": "^2.0.8",
"@radix-ui/react-context-menu": "^2.1.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-form": "^0.0.3",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tooltip": "^1.0.6",
"@storybook/manager-api": "^8.1.1",
"classnames": "^2.3.2",
"graphemer": "^1.4.0",
"vaul": "^0.7.0"
},
"peerDependencies": {
"@fontsource/inconsolata": "^5",
"@fontsource/inter": "^5",
"@types/react": "*",
"@types/react-dom": "*",
"@vector-im/compound-design-tokens": ">=1.0.0 <2.0.0",
"react": "^17 || ^18",
"react-dom": "^17 || ^18"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
}
},
"resolutions": {
"jackspeak": "2.1.1"
}
}