@learnmd/core 0.0.1-beta.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.
Files changed (43) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +30 -0
  3. package/dist/components/LearnMDProvider.d.ts +33 -0
  4. package/dist/components/LearnMDProvider.d.ts.map +1 -0
  5. package/dist/components/LearnMDProvider.js +16 -0
  6. package/dist/components/LearnMDProvider.js.map +1 -0
  7. package/dist/gamification/index.d.ts +77 -0
  8. package/dist/gamification/index.d.ts.map +1 -0
  9. package/dist/gamification/index.js +402 -0
  10. package/dist/gamification/index.js.map +1 -0
  11. package/dist/i18n/index.d.ts +119 -0
  12. package/dist/i18n/index.d.ts.map +1 -0
  13. package/dist/i18n/index.js +261 -0
  14. package/dist/i18n/index.js.map +1 -0
  15. package/dist/index.d.ts +81 -0
  16. package/dist/index.d.ts.map +1 -0
  17. package/dist/index.js +77 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/parser/index.d.ts +57 -0
  20. package/dist/parser/index.d.ts.map +1 -0
  21. package/dist/parser/index.js +182 -0
  22. package/dist/parser/index.js.map +1 -0
  23. package/dist/plugins/index.d.ts +150 -0
  24. package/dist/plugins/index.d.ts.map +1 -0
  25. package/dist/plugins/index.js +291 -0
  26. package/dist/plugins/index.js.map +1 -0
  27. package/dist/plugins/pdf/index.d.ts +8 -0
  28. package/dist/plugins/pdf/index.d.ts.map +1 -0
  29. package/dist/plugins/pdf/index.js +53 -0
  30. package/dist/plugins/pdf/index.js.map +1 -0
  31. package/dist/router/index.d.ts +111 -0
  32. package/dist/router/index.d.ts.map +1 -0
  33. package/dist/router/index.js +268 -0
  34. package/dist/router/index.js.map +1 -0
  35. package/dist/storage/index.d.ts +110 -0
  36. package/dist/storage/index.d.ts.map +1 -0
  37. package/dist/storage/index.js +390 -0
  38. package/dist/storage/index.js.map +1 -0
  39. package/dist/types/index.d.ts +283 -0
  40. package/dist/types/index.d.ts.map +1 -0
  41. package/dist/types/index.js +2 -0
  42. package/dist/types/index.js.map +1 -0
  43. package/package.json +73 -0
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "@learnmd/core",
3
+ "version": "0.0.1-beta.0",
4
+ "description": "Core framework for LearnMD - Markdown-based course creation",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./parser": {
15
+ "import": "./dist/parser/index.js",
16
+ "types": "./dist/parser/index.d.ts"
17
+ },
18
+ "./i18n": {
19
+ "import": "./dist/i18n/index.js",
20
+ "types": "./dist/i18n/index.d.ts"
21
+ },
22
+ "./storage": {
23
+ "import": "./dist/storage/index.js",
24
+ "types": "./dist/storage/index.d.ts"
25
+ },
26
+ "./plugins": {
27
+ "import": "./dist/plugins/index.js",
28
+ "types": "./dist/plugins/index.d.ts"
29
+ },
30
+ "./gamification": {
31
+ "import": "./dist/gamification/index.js",
32
+ "types": "./dist/gamification/index.d.ts"
33
+ }
34
+ },
35
+ "dependencies": {
36
+ "gray-matter": "^4.0.3",
37
+ "idb": "^8.0.0",
38
+ "jspdf": "^4.2.1",
39
+ "marked": "^12.0.0",
40
+ "minisearch": "^6.3.0"
41
+ },
42
+ "devDependencies": {
43
+ "@types/node": "^20.11.0",
44
+ "@types/react": "^18.2.0",
45
+ "@types/react-dom": "^18.2.0",
46
+ "@vitest/coverage-v8": "^1.3.0",
47
+ "eslint-plugin-import": "^2.32.0",
48
+ "eslint-plugin-security": "^4.0.0",
49
+ "typescript": "^5.4.0",
50
+ "vitest": "^1.3.0"
51
+ },
52
+ "peerDependencies": {
53
+ "react": ">=18.0.0"
54
+ },
55
+ "keywords": [
56
+ "markdown",
57
+ "courses",
58
+ "e-learning",
59
+ "parser"
60
+ ],
61
+ "license": "MIT",
62
+ "files": [
63
+ "dist"
64
+ ],
65
+ "scripts": {
66
+ "dev": "tsc --watch",
67
+ "build": "tsc",
68
+ "lint": "eslint src",
69
+ "test": "vitest run",
70
+ "test:coverage": "vitest run --coverage",
71
+ "clean": "rm -rf dist"
72
+ }
73
+ }