File size: 3,289 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
	"name": "@automattic/components",
	"version": "3.0.1",
	"description": "Automattic Components.",
	"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.ts",
	"exports": {
		".": {
			"calypso:src": "./src/index.ts",
			"types": "./dist/types/index.d.ts",
			"import": "./dist/esm/index.js",
			"require": "./dist/cjs/index.js"
		},
		"./src/*": {
			"calypso:src": "./src/*"
		},
		"./styles/*": {
			"calypso:src": "./styles/*"
		}
	},
	"sideEffects": [
		"*.css",
		"*.scss"
	],
	"repository": {
		"type": "git",
		"url": "git+https://github.com/Automattic/wp-calypso.git",
		"directory": "packages/components"
	},
	"publishConfig": {
		"access": "public"
	},
	"bugs": "https://github.com/Automattic/wp-calypso/issues",
	"files": [
		"dist",
		"src",
		"styles"
	],
	"types": "dist/types",
	"dependencies": {
		"@ariakit/react": "^0.4.15",
		"@automattic/calypso-color-schemes": "workspace:^",
		"@automattic/calypso-url": "workspace:^",
		"@automattic/color-studio": "^4.1.0",
		"@automattic/i18n-utils": "workspace:^",
		"@automattic/load-script": "workspace:^",
		"@automattic/material-design-icons": "workspace:^",
		"@automattic/number-formatters": "^1.0.1",
		"@automattic/typography": "workspace:^",
		"@automattic/ui": "workspace:^",
		"@automattic/viewport-react": "workspace:^",
		"@emotion/css": "^11.11.2",
		"@emotion/react": "^11.11.1",
		"@emotion/styled": "^11.11.0",
		"@storybook/addon-actions": "^8.6.14",
		"@wordpress/base-styles": "^5.23.0",
		"@wordpress/components": "^29.9.0",
		"@wordpress/compose": "7.23.0",
		"@wordpress/date": "5.23.0",
		"@wordpress/html-entities": "4.23.0",
		"@wordpress/i18n": "^5.23.0",
		"@wordpress/icons": "^10.23.0",
		"@wordpress/primitives": "^4.23.0",
		"@wordpress/react-i18n": "^4.23.0",
		"@wordpress/url": "^4.23.0",
		"@wordpress/warning": "3.23.0",
		"canvas-confetti": "^1.6.0",
		"clsx": "^2.1.1",
		"colord": "2.9.3",
		"debug": "^4.4.1",
		"gridicons": "^3.4.2",
		"i18n-calypso": "workspace:^",
		"lodash": "^4.17.21",
		"prop-types": "^15.8.1",
		"react-modal": "^3.16.3",
		"react-router-dom": "^6.23.1",
		"utility-types": "^3.10.0"
	},
	"peerDependencies": {
		"@wordpress/data": "^10.23.0",
		"react": "^18.3.1",
		"react-dom": "^18.3.1"
	},
	"devDependencies": {
		"@ariakit/test": "0.4.7",
		"@automattic/calypso-build": "workspace:^",
		"@automattic/calypso-storybook": "workspace:^",
		"@automattic/calypso-typescript-config": "workspace:^",
		"@storybook/react": "^8.6.14",
		"@storybook/test": "^8.6.14",
		"@testing-library/dom": "^10.4.0",
		"@testing-library/jest-dom": "^6.6.3",
		"@testing-library/react": "^16.3.0",
		"@testing-library/user-event": "^14.6.1",
		"@types/canvas-confetti": "^1.6.0",
		"@types/node": "^22.7.5",
		"postcss": "^8.5.3",
		"storybook": "^8.6.14",
		"typescript": "^5.8.3",
		"webpack": "^5.99.8"
	},
	"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",
		"storybook:start": "storybook dev -p 56833",
		"storybook:build": "storybook build"
	}
}