Files
blap/modules/widget-toggles/package.json
T
2026-06-08 10:32:12 +01:00

45 lines
1.7 KiB
JSON

{
"name": "@element-hq/element-web-module-widget-toggle",
"private": true,
"version": "0.0.0",
"type": "module",
"main": "lib/index.js",
"license": "SEE LICENSE IN README.md",
"scripts": {
"build": "vite build",
"lint": "pnpm lint:types && pnpm lint:js",
"lint:types": "tsc --noEmit",
"lint:js": "eslint --max-warnings 0 src -c ../.eslintrc.cjs",
"test": "vitest run --coverage",
"test:playwright": "playwright test -c ../playwright.config.ts",
"test:playwright:open": "yarn test:playwright -c ../playwright.config.ts --ui",
"test:playwright:screenshots": "playwright-screenshots yarn test:playwright --update-snapshots --grep @screenshot"
},
"devDependencies": {
"@arcmantle/vite-plugin-import-css-sheet": "^1.0.12",
"@element-hq/element-web-module-api": "workspace:*",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^22.10.7",
"@types/react": "^19",
"@vitejs/plugin-react": "catalog:",
"@vitest/browser-playwright": "catalog:",
"@vitest/coverage-v8": "catalog:",
"react": "catalog:",
"typescript": "catalog:",
"rollup-plugin-external-globals": "^0.13.0",
"vite": "catalog:",
"vite-plugin-node-polyfills": "catalog:",
"vite-plugin-svgr": "catalog:",
"vitest": "catalog:"
},
"dependencies": {
"@vector-im/compound-design-tokens": "^10.0.0",
"@vector-im/compound-web": "^9.0.0",
"matrix-widget-api": "^1.17.0",
"styled-components": "^6.3.11",
"zod": "^4.3.6"
}
}