UNPKG

2.33 kBJSONView Raw
1{
2 "name": "react-share",
3 "version": "5.2.0",
4 "description": "Social media share buttons and share counts for React.",
5 "type": "module",
6 "main": "./dist/index.cjs",
7 "types": "./dist/index.d.ts",
8 "module": "./dist/index.js",
9 "exports": {
10 "import": "./dist/index.js",
11 "require": "./dist/index.cjs"
12 },
13 "sideEffects": false,
14 "files": [
15 "dist"
16 ],
17 "scripts": {
18 "build": "vite build",
19 "build-demo": "vite build --config vite.demo.config.js",
20 "check-types": "tsc --noEmit",
21 "demo": "vite --config vite.demo.config.js",
22 "lint": "eslint ./src ./demo",
23 "lint-package": "npx publint && npx @arethetypeswrong/cli --pack .",
24 "prepublishOnly": "npm run build",
25 "start": "npm run demo",
26 "release": "npm run build && changeset publish"
27 },
28 "keywords": [
29 "react",
30 "component",
31 "react-component",
32 "social",
33 "media",
34 "social-media",
35 "share",
36 "button",
37 "count"
38 ],
39 "repository": {
40 "type": "git",
41 "url": "https://github.com/nygardk/react-share"
42 },
43 "author": {
44 "name": "Klaus Nygård",
45 "email": "klaus.nygard@gmail.com",
46 "url": "https://www.klausnygard.fi"
47 },
48 "contributors": [
49 {
50 "name": "Ari Autio",
51 "email": "ari.autio@iki.fi"
52 }
53 ],
54 "license": "MIT",
55 "devDependencies": {
56 "@changesets/cli": "2.27.12",
57 "@types/assert": "1.5.11",
58 "@types/jsonp": "0.2.3",
59 "@types/react": "^18.3.18",
60 "@types/react-dom": "^18.3.5",
61 "@typescript-eslint/eslint-plugin": "8.22.0",
62 "@typescript-eslint/parser": "8.22.0",
63 "@vitejs/plugin-react": "4.3.4",
64 "eslint": "9.19.0",
65 "eslint-config-prettier": "10.0.1",
66 "eslint-plugin-babel": "^5.3.1",
67 "eslint-plugin-import": "2.31.0",
68 "eslint-plugin-jsx-a11y": "6.10.2",
69 "eslint-plugin-prettier": "5.2.3",
70 "eslint-plugin-react": "7.37.4",
71 "eslint-plugin-react-hooks": "5.1.0",
72 "globals": "15.14.0",
73 "prettier": "3.4.2",
74 "react": "^17.0.2",
75 "react-dom": "^17.0.2",
76 "typescript": "5.7.3",
77 "vite": "6.0.11",
78 "vite-plugin-dts": "4.5.0"
79 },
80 "dependencies": {
81 "classnames": "^2.3.2",
82 "jsonp": "^0.2.1"
83 },
84 "peerDependencies": {
85 "react": "^17 || ^18 || ^19"
86 },
87 "overrides": {
88 "vite-plugin-dts": {
89 "@microsoft/api-extractor": "~7.48.0"
90 }
91 }
92}