| { | |
| "name": "@automattic/block-renderer", | |
| "version": "1.0.0", | |
| "description": "Render blocks on the client side.", | |
| "homepage": "https://github.com/Automattic/wp-calypso", | |
| "license": "GPL-2.0-or-later", | |
| "author": "Automattic Inc.", | |
| "main": "dist/cjs/index.js", | |
| "module": "dist/esm/index.js", | |
| "calypso:src": "src/index.tsx", | |
| "exports": { | |
| ".": { | |
| "calypso:src": "./src/index.tsx", | |
| "types": "./dist/types/index.d.ts", | |
| "import": "./dist/esm/index.js", | |
| "require": "./dist/cjs/index.js" | |
| } | |
| }, | |
| "sideEffects": [ | |
| "*.css", | |
| "*.scss" | |
| ], | |
| "repository": { | |
| "type": "git", | |
| "url": "git+https://github.com/Automattic/wp-calypso.git", | |
| "directory": "packages/block-renderer" | |
| }, | |
| "publishConfig": { | |
| "access": "public" | |
| }, | |
| "bugs": "https://github.com/Automattic/wp-calypso/issues", | |
| "types": "dist/types", | |
| "scripts": { | |
| "clean": "tsc --build ./tsconfig.json ./tsconfig-cjs.json --clean && rm -rf dist", | |
| "build": "tsc --build ./tsconfig.json ./tsconfig-cjs.json && copy-assets", | |
| "prepack": "yarn run clean && yarn run build", | |
| "watch": "tsc --build ./tsconfig.json --watch" | |
| }, | |
| "dependencies": { | |
| "@automattic/global-styles": "workspace:^", | |
| "@tanstack/react-query": "^5.15.5", | |
| "@wordpress/block-editor": "^14.18.0", | |
| "@wordpress/compose": "^7.23.0", | |
| "clsx": "^2.1.1", | |
| "tslib": "^2.8.1", | |
| "utility-types": "^3.10.0", | |
| "wpcom-proxy-request": "workspace:^" | |
| }, | |
| "devDependencies": { | |
| "@automattic/calypso-typescript-config": "workspace:^", | |
| "react": "^18.3.1", | |
| "react-dom": "^18.3.1", | |
| "typescript": "^5.8.3" | |
| }, | |
| "peerDependencies": { | |
| "@wordpress/data": "^10.23.0", | |
| "@wordpress/element": "^6.23.0", | |
| "@wordpress/i18n": "^5.23.0", | |
| "debug": "^4.4.1", | |
| "redux": "^5.0.1" | |
| }, | |
| "private": true | |
| } | |