@nibblearn/react 0.0.0-stage → 0.1.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 +35 -2
- package/dist/index.cjs +14249 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +7501 -0
- package/dist/index.d.ts +7501 -0
- package/dist/index.js +14164 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +10783 -0
- package/package.json +88 -3
package/package.json
CHANGED
|
@@ -1,6 +1,91 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nibblearn/react",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Tiny interactions. Real learning. Beautiful, accessible, interactive learning modules and a Lesson Player for React — flashcards, matching, branching scenarios, simulations and more, driven by JSON or components.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": [
|
|
8
|
+
"*.css"
|
|
9
|
+
],
|
|
10
|
+
"main": "./dist/index.cjs",
|
|
11
|
+
"module": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"style": "./dist/styles.css",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"require": {
|
|
21
|
+
"types": "./dist/index.d.cts",
|
|
22
|
+
"default": "./dist/index.cjs"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"./styles.css": "./dist/styles.css",
|
|
26
|
+
"./package.json": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
35
|
+
"react-dom": "^18.2.0 || ^19.0.0"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@dnd-kit/core": "^6.3.1",
|
|
39
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
40
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
41
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
42
|
+
"clsx": "^2.1.1",
|
|
43
|
+
"lucide-react": "^1.70.0",
|
|
44
|
+
"motion": "^14.10.1",
|
|
45
|
+
"zod": "^4.6.7",
|
|
46
|
+
"@nibblearn/core": "^0.1.0"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@arethetypeswrong/cli": "0.18.5",
|
|
50
|
+
"publint": "0.3.25",
|
|
51
|
+
"react": "19.3.1",
|
|
52
|
+
"react-dom": "19.3.1"
|
|
53
|
+
},
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "git+https://github.com/ifgolubev/nibblearn.git",
|
|
57
|
+
"directory": "packages/react"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://github.com/ifgolubev/nibblearn#readme",
|
|
60
|
+
"bugs": {
|
|
61
|
+
"url": "https://github.com/ifgolubev/nibblearn/issues"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"components",
|
|
65
|
+
"education",
|
|
66
|
+
"elearning",
|
|
67
|
+
"flashcards",
|
|
68
|
+
"interactive",
|
|
69
|
+
"learning",
|
|
70
|
+
"microlearning",
|
|
71
|
+
"nibblearn",
|
|
72
|
+
"onboarding",
|
|
73
|
+
"quiz",
|
|
74
|
+
"react",
|
|
75
|
+
"training",
|
|
76
|
+
"ui"
|
|
77
|
+
],
|
|
78
|
+
"publishConfig": {
|
|
79
|
+
"access": "public",
|
|
80
|
+
"provenance": true
|
|
81
|
+
},
|
|
82
|
+
"engines": {
|
|
83
|
+
"node": ">=20"
|
|
84
|
+
},
|
|
85
|
+
"scripts": {
|
|
86
|
+
"build": "vite build && dts-bundle-generator src/index.ts -o dist/index.d.ts --project tsconfig.build.json --no-banner --export-referenced-types=false --silent && node ../../scripts/finish-dts.mjs dist",
|
|
87
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
88
|
+
"test": "vitest run",
|
|
89
|
+
"check:package": "publint && attw --pack . --profile node16 --exclude-entrypoints styles.css"
|
|
90
|
+
}
|
|
6
91
|
}
|