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