| { | |
| "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" | |
| } | |
| } | |