File size: 1,736 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
	"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
}