element-web/package.json
David Langley 6286a75790 Designer agent, Figma URL workflow, Element Web dev server
- Add @designer Copilot agent with Figma URL parsing and MCP/CLI fallback
- Make fileKey optional on all Figma MCP tools (extract from pasted URLs)
- Add CLI fallback scripts (figma-file, figma-node, figma-components)
- Add run-element-web.mjs launcher and start:element-web script
- Update devcontainer to Node 24 image, forward port 8080 for Element Web
- Simplify setup guide (no FIGMA_FILE secret, 3-step onboarding)
- Update docs with Element Web prototyping instructions
2026-03-25 12:07:57 +00:00

109 lines
4.2 KiB
JSON

{
"name": "element-web-monorepo",
"version": "0.0.0",
"description": "Element: the future of secure communication",
"author": "New Vector Ltd.",
"repository": {
"type": "git",
"url": "https://github.com/element-hq/element-web"
},
"license": "SEE LICENSE IN README.md",
"type": "module",
"scripts": {
"i18n": "pnpm -r i18n",
"i18n:sort": "pnpm -r i18n:sort",
"i18n:lint": "pnpm -r i18n:lint",
"storybook:design": "node scripts/design/run-storybook.mjs",
"start:element-web": "node scripts/design/run-element-web.mjs",
"figma:connect": "node scripts/design/figma-connect.mjs",
"figma:file": "node scripts/design/figma-file.mjs",
"figma:node": "node scripts/design/figma-node.mjs",
"figma:components": "node scripts/design/figma-components.mjs",
"figma:mcp": "node scripts/design/figma-mcp-server.mjs",
"lint": "pnpm -r lint:types && pnpm lint:prettier && pnpm -r lint:js && pnpm -r lint:style && pnpm lint:workflows && pnpm lint:knip",
"lint:prettier": "prettier --check .",
"lint:prettier-fix": "prettier --log-level=warn --write .",
"lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) -print -exec action-validator {} ';'",
"lint:knip": "knip",
"install:git-hooks": "husky",
"postinstall": "node scripts/pnpm-link.ts && pnpm run -r sane-postinstall"
},
"resolutions": {
"pretty-format@30>react-is": "19.2.4",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"oidc-client-ts": "3.5.0",
"jwt-decode": "4.0.0",
"caniuse-lite": "1.0.30001780",
"markdown-it": "14.1.1",
"testcontainers": "^11.0.0",
"matrix-widget-api": "^1.17.0",
"qs": "6.15.0",
"serialize-javascript": "7.0.4",
"atomically": "2.1.1",
"@types/node": "18.19.130",
"config-file-ts": "0.2.8-rc1",
"node-abi": "4.27.0",
"@types/pg-pool": "2.0.7"
},
"devDependencies": {
"@action-validator/cli": "^0.6.0",
"@action-validator/core": "^0.6.0",
"@nx-tools/nx-container": "^7.2.1",
"@nx/jest": "^22.5.0",
"@types/node": "22",
"cronstrue": "^3.0.0",
"eslint-plugin-matrix-org": "^3.0.0",
"husky": "^9.0.0",
"knip": "5.87.0",
"lint-staged": "^16.0.0",
"lodash": "^4.17.21",
"minimist": "^1.2.6",
"nx": "22.5.4",
"prettier": "3.8.1",
"typescript": "catalog:",
"yaml": "^2.3.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"matrix-js-sdk",
"electron"
],
"ignoredBuiltDependencies": [
"@sentry/cli",
"nx"
],
"patchedDependencies": {
"@vector-im/matrix-wysiwyg": "patches/@vector-im__matrix-wysiwyg.patch",
"react-blurhash": "patches/react-blurhash.patch",
"linkify-html": "patches/linkify-html.patch",
"@matrix-org/react-sdk-module-api": "patches/@matrix-org__react-sdk-module-api.patch",
"@types/auto-launch": "patches/@types__auto-launch.patch",
"@types/mdx": "patches/@types__mdx.patch",
"await-lock": "patches/await-lock.patch",
"jest-fixed-jsdom": "patches/jest-fixed-jsdom.patch",
"jsdom": "patches/jsdom.patch",
"rollup": "patches/rollup.patch",
"knip": "patches/knip.patch",
"postcss-mixins": "patches/postcss-mixins.patch",
"app-builder-lib": "patches/app-builder-lib.patch"
},
"peerDependencyRules": {
"allowedVersions": {
"react": "19",
"react-dom": "19",
"eslint": "8"
}
},
"allowedDeprecatedVersions": {
"eslint": "8",
"react-beautiful-dnd": "13"
}
},
"engines": {
"node": ">=22.18"
},
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
"private": true
}