react-share
Version:
Social media share buttons and share counts for React.
93 lines (92 loc) • 2.33 kB
JSON
{
"name": "react-share",
"version": "5.2.2",
"description": "Social media share buttons and share counts for React.",
"type": "module",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "vite build",
"build-demo": "vite build --config vite.demo.config.js",
"check-types": "tsc --noEmit",
"demo": "vite --config vite.demo.config.js",
"lint": "eslint ./src ./demo",
"lint-package": "npx publint && npx @arethetypeswrong/cli --pack .",
"prepublishOnly": "npm run build",
"start": "npm run demo",
"release": "npm run build && changeset publish"
},
"keywords": [
"react",
"component",
"react-component",
"social",
"media",
"social-media",
"share",
"button",
"count"
],
"repository": {
"type": "git",
"url": "https://github.com/nygardk/react-share"
},
"author": {
"name": "Klaus Nygård",
"email": "klaus.nygard@gmail.com",
"url": "https://www.klausnygard.fi"
},
"contributors": [
{
"name": "Ari Autio",
"email": "ari.autio@iki.fi"
}
],
"license": "MIT",
"devDependencies": {
"@changesets/cli": "2.27.12",
"@types/assert": "1.5.11",
"@types/jsonp": "0.2.3",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "8.22.0",
"@typescript-eslint/parser": "8.22.0",
"@vitejs/plugin-react": "4.3.4",
"eslint": "9.19.0",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-prettier": "5.2.3",
"eslint-plugin-react": "7.37.4",
"eslint-plugin-react-hooks": "5.1.0",
"globals": "15.14.0",
"prettier": "3.4.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typescript": "5.7.3",
"vite": "6.0.11",
"vite-plugin-dts": "4.5.0"
},
"dependencies": {
"classnames": "^2.3.2",
"jsonp": "^0.2.1"
},
"peerDependencies": {
"react": "^17 || ^18 || ^19"
},
"overrides": {
"vite-plugin-dts": {
"@microsoft/api-extractor": "~7.48.0"
}
}
}