react-social-embeds 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +184 -0
- package/dist/index.d.mts +1289 -0
- package/dist/index.d.ts +1289 -0
- package/dist/index.js +8840 -0
- package/dist/index.mjs +8772 -0
- package/package.json +49 -0
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-social-embeds",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Unified React embeds for social media content",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsup src/index.ts --dts --format esm,cjs --external react --external react-dom --external dashjs --external hls.js",
|
|
14
|
+
"dev": "tsup src/index.ts --dts --format esm,cjs --watch --external dashjs --external hls.js",
|
|
15
|
+
"lint": "tsc --noEmit",
|
|
16
|
+
"test": "vitest run",
|
|
17
|
+
"test:watch": "vitest",
|
|
18
|
+
"test:coverage": "vitest run --coverage",
|
|
19
|
+
"release:check": "npm run lint && npm test && npm run build"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"dashjs": ">=4.0.0",
|
|
23
|
+
"hls.js": ">=1.0.0",
|
|
24
|
+
"react": ">=18",
|
|
25
|
+
"react-dom": ">=18"
|
|
26
|
+
},
|
|
27
|
+
"peerDependenciesMeta": {
|
|
28
|
+
"dashjs": {
|
|
29
|
+
"optional": true
|
|
30
|
+
},
|
|
31
|
+
"hls.js": {
|
|
32
|
+
"optional": true
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@types/react": "^18.3.3",
|
|
37
|
+
"@types/react-dom": "^18.3.0",
|
|
38
|
+
"@testing-library/jest-dom": "^6.4.6",
|
|
39
|
+
"@testing-library/react": "^14.2.2",
|
|
40
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
41
|
+
"@vitest/coverage-v8": "^2.0.5",
|
|
42
|
+
"dashjs": "^4.7.4",
|
|
43
|
+
"hls.js": "^1.5.0",
|
|
44
|
+
"tsup": "^8.2.0",
|
|
45
|
+
"typescript": "^5.5.3",
|
|
46
|
+
"jsdom": "^24.1.0",
|
|
47
|
+
"vitest": "^2.0.5"
|
|
48
|
+
}
|
|
49
|
+
}
|