@ct-player/embed 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/README.md +269 -0
- package/dist/index.cjs +181 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2716 -0
- package/dist/index.d.ts +2716 -0
- package/dist/index.js +181 -0
- package/dist/index.js.map +1 -0
- package/package.json +86 -0
package/package.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ct-player/embed",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Embeddable interactive course player for .ct files - standalone bundle with all dependencies included",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./styles.css": "./dist/styles.css"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "tsup",
|
|
23
|
+
"build:minify": "tsup --minify",
|
|
24
|
+
"dev": "tsup --watch",
|
|
25
|
+
"clean": "rimraf dist",
|
|
26
|
+
"typecheck": "tsc --noEmit",
|
|
27
|
+
"prepublishOnly": "npm run build:minify"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"ct-player",
|
|
31
|
+
"course-player",
|
|
32
|
+
"interactive-video",
|
|
33
|
+
"video-player",
|
|
34
|
+
"education",
|
|
35
|
+
"react",
|
|
36
|
+
"streaming",
|
|
37
|
+
"hls"
|
|
38
|
+
],
|
|
39
|
+
"author": "CT-Courses Team",
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "https://github.com/ct-courses/ct-player.git"
|
|
44
|
+
},
|
|
45
|
+
"homepage": "https://github.com/ct-courses/ct-player#readme",
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/ct-courses/ct-player/issues"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
51
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
52
|
+
"@monaco-editor/react": ">=4.6.0",
|
|
53
|
+
"@excalidraw/excalidraw": ">=0.17.0",
|
|
54
|
+
"react-pdf": ">=7.0.0",
|
|
55
|
+
"lucide-react": ">=0.300.0"
|
|
56
|
+
},
|
|
57
|
+
"peerDependenciesMeta": {
|
|
58
|
+
"@monaco-editor/react": {
|
|
59
|
+
"optional": true
|
|
60
|
+
},
|
|
61
|
+
"@excalidraw/excalidraw": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
64
|
+
"react-pdf": {
|
|
65
|
+
"optional": true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@ct-courses/core": "*",
|
|
70
|
+
"@ct-courses/logging": "*",
|
|
71
|
+
"@ct-courses/player": "*",
|
|
72
|
+
"@ct-courses/ui": "*",
|
|
73
|
+
"@types/node": "^20.10.0",
|
|
74
|
+
"@types/react": "^18.2.45",
|
|
75
|
+
"@types/react-dom": "^18.2.18",
|
|
76
|
+
"rimraf": "^5.0.5",
|
|
77
|
+
"tsup": "^8.0.1",
|
|
78
|
+
"typescript": "^5.3.3"
|
|
79
|
+
},
|
|
80
|
+
"publishConfig": {
|
|
81
|
+
"access": "public"
|
|
82
|
+
},
|
|
83
|
+
"engines": {
|
|
84
|
+
"node": ">=18.0.0"
|
|
85
|
+
}
|
|
86
|
+
}
|