{ "name": "@wordpress/widget-primitives", "version": "0.12.0", "description": "Host-agnostic toolkit for dashboard widgets: the widget contract types, the discovery hook, and the render entry point.", "author": "The WordPress Contributors", "license": "GPL-2.0-or-later", "keywords": [ "wordpress", "gutenberg", "widgets", "dashboard" ], "homepage": "https://github.com/WordPress/gutenberg/tree/HEAD/packages/widget-primitives/README.md", "repository": { "type": "git", "url": "https://github.com/WordPress/gutenberg.git", "directory": "packages/widget-primitives" }, "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { "node": ">=22.13.0" }, "files": [ "src", "build", "build-module", "build-types" ], "main": "build/index.cjs", "module": "build-module/index.mjs", "exports": { ".": { "types": "./build-types/index.d.ts", "import": "./build-module/index.mjs", "default": "./build/index.cjs" }, "./package.json": "./package.json" }, "wpScript": false, "wpScriptModuleExports": "./build-module/index.mjs", "types": "build-types", "sideEffects": false, "dependencies": { "@wordpress/dataviews": "file:../dataviews", "@wordpress/element": "file:../element" }, "devDependencies": { "@storybook/addon-docs": "^10.6.8", "@storybook/react-vite": "^10.6.8", "@testing-library/react": "^16.3.3", "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", "@wordpress/ui": "file:../ui", "storybook": "^10.6.8", "vitest": "^5.1.1" }, "peerDependencies": { "@types/react": "^18 || ^19", "react": "^18 || ^19", "react-dom": "^18 || ^19" }, "peerDependenciesMeta": { "@types/react": { "optional": true } }, "publishConfig": { "access": "public" } }