UNPKG

@automattic/social-previews

Version:

A suite of components to generate previews for a post for both social and search engines.

82 lines 2.21 kB
{ "name": "@automattic/social-previews", "version": "2.1.0-beta.12", "description": "A suite of components to generate previews for a post for both social and search engines.", "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" } }, "sideEffects": [ "*.css", "*.scss" ], "keywords": [ "wordpress", "social", "seo", "search" ], "author": "Automattic Inc.", "homepage": "https://github.com/Automattic/wp-calypso", "license": "GPL-2.0-or-later", "repository": { "type": "git", "url": "git+https://github.com/Automattic/wp-calypso.git", "directory": "packages/social-previews" }, "publishConfig": { "access": "public" }, "bugs": "https://github.com/Automattic/wp-calypso/issues", "files": [ "dist", "src", "CHANGELOG.md" ], "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", "prepare": "yarn run build", "prepack": "yarn run clean && yarn run build", "watch": "tsc --build ./tsconfig.json --watch" }, "dependencies": { "@emotion/react": "^11.11.1", "@wordpress/components": "^29.9.0", "@wordpress/element": "^6.23.0", "@wordpress/i18n": "^5.23.0", "clsx": "^2.1.1", "prop-types": "^15.8.1", "tslib": "^2.8.1" }, "devDependencies": { "@automattic/calypso-build": "^10.0.0", "@automattic/calypso-typescript-config": "^1.0.0", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "postcss": "^8.5.3", "react": "^18.3.1", "react-dom": "^18.3.1", "typescript": "^5.8.3", "webpack": "^5.99.8" }, "peerDependencies": { "@babel/runtime": "^7.27.1", "react": "^18.3.1", "react-dom": "^18.3.1" }, "peerDependenciesMeta": { "@babel/runtime": { "optional": true } } }