UNPKG

react-share

Version:

Social media share buttons and share counts for React.

87 lines (86 loc) 2.24 kB
{ "name": "react-share", "version": "5.1.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 --ext .js,.jsx,.ts,.tsx ./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.1", "@types/assert": "1.5.10", "@types/jsonp": "0.2.3", "@types/react": "^18.2.55", "@types/react-dom": "^18.2.19", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "@vitejs/plugin-react": "^4.2.1", "eslint": "8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-babel": "^5.3.1", "eslint-plugin-import": "2.29.1", "eslint-plugin-jsx-a11y": "6.8.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react": "7.33.2", "eslint-plugin-react-hooks": "4.6.0", "prettier": "3.2.5", "react": "^17.0.2", "react-dom": "^17.0.2", "typescript": "^5.3.3", "vite": "^5.1.1", "vite-plugin-dts": "^3.7.2" }, "dependencies": { "classnames": "^2.3.2", "jsonp": "^0.2.1" }, "peerDependencies": { "react": "^17 || ^18 || ^19" } }