@thanh01.pmt/interactive-quiz-kit 1.0.24 → 1.0.27
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/dist/ai.cjs +195 -243
- package/dist/{ai.js → ai.mjs} +195 -243
- package/dist/authoring.cjs +103296 -10569
- package/dist/authoring.mjs +105685 -0
- package/dist/index.cjs +2609 -206
- package/dist/{index.js → index.mjs} +2608 -205
- package/dist/player.cjs +93661 -3364
- package/dist/player.mjs +94199 -0
- package/dist/react-ui.cjs +164435 -14143
- package/dist/react-ui.mjs +167596 -0
- package/package.json +69 -66
- package/dist/authoring.js +0 -12944
- package/dist/player.js +0 -3890
- package/dist/react-ui.js +0 -17283
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thanh01.pmt/interactive-quiz-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "A comprehensive library for creating, managing, and playing interactive quizzes, with AI generation and SCORM support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -23,32 +23,32 @@
|
|
|
23
23
|
],
|
|
24
24
|
"type": "module",
|
|
25
25
|
"main": "./dist/index.cjs",
|
|
26
|
-
"module": "./dist/index.
|
|
26
|
+
"module": "./dist/index.mjs",
|
|
27
27
|
"types": "./dist/index.d.ts",
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
30
|
"types": "./dist/index.d.ts",
|
|
31
|
-
"import": "./dist/index.
|
|
31
|
+
"import": "./dist/index.mjs",
|
|
32
32
|
"require": "./dist/index.cjs"
|
|
33
33
|
},
|
|
34
34
|
"./player": {
|
|
35
35
|
"types": "./dist/player.d.ts",
|
|
36
|
-
"import": "./dist/player.
|
|
36
|
+
"import": "./dist/player.mjs",
|
|
37
37
|
"require": "./dist/player.cjs"
|
|
38
38
|
},
|
|
39
39
|
"./react-ui": {
|
|
40
40
|
"types": "./dist/react-ui.d.ts",
|
|
41
|
-
"import": "./dist/react-ui.
|
|
41
|
+
"import": "./dist/react-ui.mjs",
|
|
42
42
|
"require": "./dist/react-ui.cjs"
|
|
43
43
|
},
|
|
44
44
|
"./ai": {
|
|
45
45
|
"types": "./dist/ai.d.ts",
|
|
46
|
-
"import": "./dist/ai.
|
|
46
|
+
"import": "./dist/ai.mjs",
|
|
47
47
|
"require": "./dist/ai.cjs"
|
|
48
48
|
},
|
|
49
49
|
"./authoring": {
|
|
50
50
|
"types": "./dist/authoring.d.ts",
|
|
51
|
-
"import": "./dist/authoring.
|
|
51
|
+
"import": "./dist/authoring.mjs",
|
|
52
52
|
"require": "./dist/authoring.cjs"
|
|
53
53
|
},
|
|
54
54
|
"./package.json": "./package.json"
|
|
@@ -62,94 +62,97 @@
|
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
|
-
"
|
|
65
|
+
"clean": "rm -rf dist",
|
|
66
|
+
"build:types": "tsc --project tsconfig.json",
|
|
67
|
+
"build:js": "tsup",
|
|
68
|
+
"build": "npm run clean && npm run build:types && npm run build:js",
|
|
66
69
|
"build:scorm:js": "tsup --config tsup.scorm.config.ts",
|
|
67
70
|
"build:scorm:css": "tailwindcss -i ./src/styles/main.css -o ./scorm-bundle/styles.css --minify",
|
|
68
71
|
"build:scorm": "npm run build:scorm:js && npm run build:scorm:css",
|
|
69
72
|
"lint": "eslint . --ext .ts,.tsx",
|
|
70
|
-
"test": "jest"
|
|
71
|
-
"clean": "rm -rf dist"
|
|
73
|
+
"test": "jest"
|
|
72
74
|
},
|
|
73
75
|
"dependencies": {
|
|
74
76
|
"@genkit-ai/googleai": "^1.0.0",
|
|
75
|
-
"genkit": "^1.0.0",
|
|
76
77
|
"@google/genai": "^0.14.0",
|
|
77
78
|
"class-variance-authority": "^0.7.0",
|
|
78
79
|
"clsx": "^2.1.1",
|
|
80
|
+
"genkit": "^1.0.0",
|
|
79
81
|
"jszip": "^3.10.1",
|
|
80
82
|
"path-browserify": "^1.0.1",
|
|
81
83
|
"tailwind-merge": "^2.3.0",
|
|
82
84
|
"zod": "^3.23.8"
|
|
83
85
|
},
|
|
84
86
|
"peerDependencies": {
|
|
85
|
-
"@codemirror/lang-cpp": ">=6.0.0",
|
|
86
|
-
"@codemirror/lang-javascript": ">=6.0.0",
|
|
87
|
-
"@codemirror/lang-python": ">=6.0.0",
|
|
88
|
-
"@dnd-kit/core": ">=6.0.0",
|
|
89
|
-
"@dnd-kit/sortable": ">=8.0.0",
|
|
90
|
-
"@dnd-kit/utilities": ">=3.2.0",
|
|
91
|
-
"@radix-ui/react-accordion": ">=1.1.0",
|
|
92
|
-
"@radix-ui/react-alert-dialog": ">=1.0.0",
|
|
93
|
-
"@radix-ui/react-checkbox": ">=1.0.0",
|
|
94
|
-
"@radix-ui/react-dialog": ">=1.0.0",
|
|
95
|
-
"@radix-ui/react-label": ">=2.0.0",
|
|
96
|
-
"@radix-ui/react-progress": ">=1.0.0",
|
|
97
|
-
"@radix-ui/react-radio-group": ">=1.1.0",
|
|
98
|
-
"@radix-ui/react-scroll-area": ">=1.0.0",
|
|
99
|
-
"@radix-ui/react-select": ">=2.0.0",
|
|
100
|
-
"@radix-ui/react-slot": ">=1.0.0",
|
|
101
|
-
"@radix-ui/react-toast": ">=1.1.0",
|
|
102
|
-
"@uiw/react-codemirror": ">=4.21.0",
|
|
103
|
-
"date-fns": ">=3.0.0",
|
|
104
|
-
"html-to-image": ">=1.11.0",
|
|
105
|
-
"i18next": ">=23.0.0",
|
|
106
|
-
"i18next-browser-languagedetector": ">=7.2.0",
|
|
107
|
-
"lucide-react": ">=0.300.0",
|
|
108
87
|
"next": ">=14.0.0",
|
|
109
88
|
"react": ">=18.0.0",
|
|
110
|
-
"react-
|
|
111
|
-
"react-day-picker": ">=8.10.0",
|
|
112
|
-
"react-dom": ">=18.0.0",
|
|
113
|
-
"react-i18next": ">=14.0.0",
|
|
114
|
-
"react-markdown": ">=9.0.0",
|
|
115
|
-
"react-tooltip": ">=5.26.0",
|
|
116
|
-
"@radix-ui/react-tooltip": ">=1.2.7",
|
|
117
|
-
"@radix-ui/react-tabs": ">=1.1.0",
|
|
118
|
-
"@radix-ui/react-switch": ">=1.1.0",
|
|
119
|
-
"@radix-ui/react-popover": ">=1.1.0",
|
|
120
|
-
"@radix-ui/react-menubar": ">=1.1.0",
|
|
121
|
-
"@radix-ui/react-separator": ">=1.1.0",
|
|
122
|
-
"@radix-ui/react-dropdown-menu": ">=2.1.0",
|
|
123
|
-
"@radix-ui/react-avatar": ">=1.1.0",
|
|
124
|
-
"@radix-ui/react-slider": ">=1.2.0",
|
|
125
|
-
"recharts": ">=2.12.0",
|
|
126
|
-
"rehype-highlight": ">=7.0.0",
|
|
127
|
-
"rehype-katex": ">=7.0.0",
|
|
128
|
-
"remark-gfm": ">=4.0.0",
|
|
129
|
-
"remark-math": ">=6.0.0"
|
|
130
|
-
},
|
|
131
|
-
"peerDependenciesMeta": {
|
|
132
|
-
"genkit": {
|
|
133
|
-
"optional": true
|
|
134
|
-
},
|
|
135
|
-
"@genkit-ai/googleai": {
|
|
136
|
-
"optional": true
|
|
137
|
-
}
|
|
89
|
+
"react-dom": ">=18.0.0"
|
|
138
90
|
},
|
|
139
91
|
"devDependencies": {
|
|
92
|
+
"@dnd-kit/core": "^6.1.0",
|
|
93
|
+
"@dnd-kit/sortable": "^8.0.0",
|
|
94
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
95
|
+
"@milkdown/kit": "^7.3.2",
|
|
96
|
+
"@milkdown/react": "^7.3.2",
|
|
97
|
+
"@prosemirror-adapter/react": "^0.1.0-next.12",
|
|
98
|
+
"@radix-ui/react-accordion": "^1.2.0",
|
|
99
|
+
"@radix-ui/react-alert-dialog": "^1.1.1",
|
|
100
|
+
"@radix-ui/react-avatar": "^1.1.0",
|
|
101
|
+
"@radix-ui/react-checkbox": "^1.1.1",
|
|
102
|
+
"@radix-ui/react-dialog": "^1.1.1",
|
|
103
|
+
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
|
104
|
+
"@radix-ui/react-label": "^2.1.0",
|
|
105
|
+
"@radix-ui/react-menubar": "^1.1.1",
|
|
106
|
+
"@radix-ui/react-popover": "^1.1.1",
|
|
107
|
+
"@radix-ui/react-progress": "^1.1.0",
|
|
108
|
+
"@radix-ui/react-radio-group": "^1.2.0",
|
|
109
|
+
"@radix-ui/react-scroll-area": "^1.1.0",
|
|
110
|
+
"@radix-ui/react-select": "^2.1.1",
|
|
111
|
+
"@radix-ui/react-separator": "^1.1.0",
|
|
112
|
+
"@radix-ui/react-slider": "^1.2.0",
|
|
113
|
+
"@radix-ui/react-slot": "^1.1.0",
|
|
114
|
+
"@radix-ui/react-switch": "^1.1.0",
|
|
115
|
+
"@radix-ui/react-tabs": "^1.1.0",
|
|
116
|
+
"@radix-ui/react-toast": "^1.2.1",
|
|
117
|
+
"@radix-ui/react-tooltip": "^1.1.2",
|
|
118
|
+
"@tiptap/extension-code-block-lowlight": "^2.4.0",
|
|
119
|
+
"@tiptap/extension-image": "^2.4.0",
|
|
120
|
+
"@tiptap/extension-link": "^2.4.0",
|
|
121
|
+
"@tiptap/react": "^2.4.0",
|
|
122
|
+
"@tiptap/starter-kit": "^2.4.0",
|
|
140
123
|
"@types/node": "^20",
|
|
141
124
|
"@types/react": "^18",
|
|
125
|
+
"@types/react-calendar-heatmap": "^1.9.0",
|
|
142
126
|
"@types/react-dom": "^18",
|
|
143
|
-
"
|
|
127
|
+
"@uiw/react-codemirror": "^4.22.2",
|
|
128
|
+
"autoprefixer": "^10.4.19",
|
|
129
|
+
"date-fns": "^3.6.0",
|
|
130
|
+
"dotenv": "^16.4.5",
|
|
144
131
|
"eslint": "^8.57.0",
|
|
145
132
|
"eslint-config-next": "14.2.3",
|
|
146
133
|
"genkit-cli": "^1.8.0",
|
|
147
|
-
"
|
|
134
|
+
"html-to-image": "^1.11.11",
|
|
135
|
+
"i18next": "^23.11.5",
|
|
136
|
+
"i18next-browser-languagedetector": "^7.2.1",
|
|
137
|
+
"lowlight": "^3.1.0",
|
|
138
|
+
"lucide-react": "^0.395.0",
|
|
139
|
+
"postcss": "^8.4.38",
|
|
148
140
|
"react": "^18.3.1",
|
|
141
|
+
"react-calendar-heatmap": "^1.9.0",
|
|
142
|
+
"react-day-picker": "^8.10.1",
|
|
149
143
|
"react-dom": "^18.3.1",
|
|
150
|
-
"
|
|
144
|
+
"react-hook-form": "^7.52.0",
|
|
145
|
+
"react-i18next": "^14.1.2",
|
|
146
|
+
"react-markdown": "^9.0.1",
|
|
147
|
+
"react-tooltip": "^5.27.0",
|
|
148
|
+
"recharts": "^2.12.7",
|
|
149
|
+
"rehype-highlight": "^7.0.0",
|
|
150
|
+
"rehype-katex": "^7.0.0",
|
|
151
|
+
"remark-gfm": "^4.0.0",
|
|
152
|
+
"remark-math": "^6.0.0",
|
|
153
|
+
"tailwindcss": "^3.4.1",
|
|
151
154
|
"tailwindcss-animate": "^1.0.7",
|
|
152
|
-
"tsup": "^8.0
|
|
155
|
+
"tsup": "^8.1.0",
|
|
153
156
|
"typescript": "^5"
|
|
154
157
|
}
|
|
155
158
|
}
|