File size: 2,660 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
{
	"name": "@automattic/data-stores",
	"version": "3.1.2",
	"description": "Calypso Data Stores.",
	"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/*"
		}
	},
	"sideEffects": false,
	"repository": {
		"type": "git",
		"url": "git+https://github.com/Automattic/wp-calypso.git",
		"directory": "packages/data-stores"
	},
	"publishConfig": {
		"access": "public"
	},
	"bugs": "https://github.com/Automattic/wp-calypso/issues",
	"files": [
		"autocomplete.gif",
		"dist",
		"src"
	],
	"types": "dist/types",
	"scripts": {
		"clean": "tsc --build ./tsconfig.json ./tsconfig-cjs.json --clean && rm -rf dist",
		"build": "tsc --build ./tsconfig.json ./tsconfig-cjs.json && run -T copy-assets",
		"prepare": "yarn run build",
		"prepack": "yarn run clean && yarn run build",
		"watch": "tsc --build ./tsconfig.json --watch"
	},
	"dependencies": {
		"@automattic/calypso-analytics": "workspace:^",
		"@automattic/calypso-config": "workspace:^",
		"@automattic/calypso-products": "workspace:^",
		"@automattic/i18n-utils": "workspace:^",
		"@automattic/js-utils": "workspace:^",
		"@automattic/load-script": "workspace:^",
		"@automattic/number-formatters": "^1.0.1",
		"@automattic/oauth-token": "workspace:^",
		"@automattic/shopping-cart": "workspace:^",
		"@tanstack/react-query": "^5.15.5",
		"@wordpress/api-fetch": "^7.23.0",
		"@wordpress/data-controls": "^4.23.0",
		"@wordpress/deprecated": "^4.23.0",
		"@wordpress/element": "^6.23.0",
		"@wordpress/i18n": "^5.23.0",
		"@wordpress/primitives": "^4.23.0",
		"@wordpress/url": "^4.23.0",
		"debug": "^4.4.1",
		"fast-json-stable-stringify": "^2.1.0",
		"i18n-calypso": "workspace:^",
		"qs": "^6.9.1",
		"react": "^18.3.1",
		"react-dom": "^18.3.1",
		"redux": "^5.0.1",
		"tslib": "^2.8.1",
		"use-debounce": "^3.1.0",
		"utility-types": "^3.10.0",
		"validator": "^13.5.2",
		"wpcom-proxy-request": "workspace:^"
	},
	"peerDependencies": {
		"@wordpress/data": "^10.23.0",
		"react": "^18.3.1",
		"react-dom": "^18.3.1"
	},
	"devDependencies": {
		"@automattic/calypso-typescript-config": "workspace:^",
		"@automattic/design-picker": "workspace:^",
		"@remix-run/router": "^1.5.0",
		"@types/validator": "^13.7.1",
		"jest-fetch-mock": "^3.0.3",
		"nock": "^13.5.6",
		"typescript": "^5.8.3",
		"wait-for-expect": "^3.0.2"
	}
}