@automattic/social-previews
Version:
A suite of components to generate previews for a post for both social and search engines.
73 lines • 1.98 kB
JSON
{
"name": "@automattic/social-previews",
"version": "2.1.0-beta.10",
"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",
"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.2.0",
"@wordpress/element": "^6.16.0",
"@wordpress/i18n": "^5.16.0",
"clsx": "^2.1.1",
"prop-types": "^15.7.2",
"tslib": "^2.3.0"
},
"devDependencies": {
"@automattic/calypso-build": "^10.0.0",
"@automattic/calypso-typescript-config": "^1.0.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"postcss": "^8.5.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.3.3",
"webpack": "^5.97.1"
},
"peerDependencies": {
"@babel/runtime": "^7.26.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"peerDependenciesMeta": {
"@babel/runtime": {
"optional": true
}
}
}