leafthrough 0.0.0-stage → 0.1.1
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 +340 -2
- package/dist/LeafThrough.d.ts +121 -0
- package/dist/chunk-DQL4R32K.js +2978 -0
- package/dist/chunk-DQL4R32K.js.map +1 -0
- package/dist/content.d.ts +42 -0
- package/dist/element.d.ts +79 -0
- package/dist/element.js +182 -0
- package/dist/element.js.map +1 -0
- package/dist/engine.d.ts +51 -0
- package/dist/framing.d.ts +48 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/options.d.ts +194 -0
- package/dist/paper/paperMaterial.d.ts +34 -0
- package/dist/paper/paperPattern.d.ts +2 -0
- package/dist/plain/PlainEngine.d.ts +42 -0
- package/dist/react.d.ts +27 -0
- package/dist/react.js +60 -0
- package/dist/react.js.map +1 -0
- package/dist/single/SingleEngine.d.ts +76 -0
- package/dist/single/singleSheet.d.ts +23 -0
- package/dist/spread/SpreadEngine.d.ts +64 -0
- package/dist/spread/spreadSheet.d.ts +23 -0
- package/dist/svelte.d.ts +19 -0
- package/dist/svelte.js +24 -0
- package/dist/svelte.js.map +1 -0
- package/dist/textures.d.ts +54 -0
- package/dist/vue.d.ts +87 -0
- package/dist/vue.js +65 -0
- package/dist/vue.js.map +1 -0
- package/package.json +102 -4
package/package.json
CHANGED
|
@@ -1,6 +1,104 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "leafthrough",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "A 3D magazine you can flip through, with paper that bends, rolls and casts shadows. Built on three.js, with React, Vue, Svelte and Web Component bindings.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"magazine",
|
|
7
|
+
"flipbook",
|
|
8
|
+
"page-flip",
|
|
9
|
+
"page-turn",
|
|
10
|
+
"three",
|
|
11
|
+
"webgl",
|
|
12
|
+
"react",
|
|
13
|
+
"vue",
|
|
14
|
+
"svelte",
|
|
15
|
+
"web-component"
|
|
16
|
+
],
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"homepage": "https://dmtrbrl.github.io/leafthrough/",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/dmtrbrl/leafthrough.git"
|
|
22
|
+
},
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/dmtrbrl/leafthrough/issues"
|
|
25
|
+
},
|
|
26
|
+
"type": "module",
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"module": "./dist/index.js",
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"import": "./dist/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./element": {
|
|
38
|
+
"types": "./dist/element.d.ts",
|
|
39
|
+
"import": "./dist/element.js"
|
|
40
|
+
},
|
|
41
|
+
"./react": {
|
|
42
|
+
"types": "./dist/react.d.ts",
|
|
43
|
+
"import": "./dist/react.js"
|
|
44
|
+
},
|
|
45
|
+
"./vue": {
|
|
46
|
+
"types": "./dist/vue.d.ts",
|
|
47
|
+
"import": "./dist/vue.js"
|
|
48
|
+
},
|
|
49
|
+
"./svelte": {
|
|
50
|
+
"types": "./dist/svelte.d.ts",
|
|
51
|
+
"import": "./dist/svelte.js"
|
|
52
|
+
},
|
|
53
|
+
"./package.json": "./package.json"
|
|
54
|
+
},
|
|
55
|
+
"sideEffects": [
|
|
56
|
+
"./dist/element.js",
|
|
57
|
+
"./src/element.ts"
|
|
58
|
+
],
|
|
59
|
+
"scripts": {
|
|
60
|
+
"dev": "vite",
|
|
61
|
+
"build": "tsup && tsc -p tsconfig.build.json",
|
|
62
|
+
"prepublishOnly": "npm run build",
|
|
63
|
+
"typecheck": "tsc --noEmit",
|
|
64
|
+
"test": "vitest run",
|
|
65
|
+
"build:demo": "vite build"
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"react": ">=18",
|
|
69
|
+
"svelte": ">=4",
|
|
70
|
+
"three": ">=0.160.0",
|
|
71
|
+
"vue": ">=3.3"
|
|
72
|
+
},
|
|
73
|
+
"peerDependenciesMeta": {
|
|
74
|
+
"react": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"vue": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"svelte": {
|
|
81
|
+
"optional": true
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"devDependencies": {
|
|
85
|
+
"@sveltejs/vite-plugin-svelte": "^7.3.1",
|
|
86
|
+
"@types/node": "^26.6.5",
|
|
87
|
+
"@types/react": "^19.3.0",
|
|
88
|
+
"@types/react-dom": "^19.3.0",
|
|
89
|
+
"@types/three": "^0.186.0",
|
|
90
|
+
"@vitejs/plugin-react": "^6.1.2",
|
|
91
|
+
"@vitejs/plugin-vue": "^6.0.10",
|
|
92
|
+
"@vitest/browser-playwright": "^5.0.5",
|
|
93
|
+
"playwright": "^1.64.1",
|
|
94
|
+
"react": "^19.3.1",
|
|
95
|
+
"react-dom": "^19.3.1",
|
|
96
|
+
"svelte": "^5.57.2",
|
|
97
|
+
"three": "^0.186.1",
|
|
98
|
+
"tsup": "^8.5.1",
|
|
99
|
+
"typescript": "^7.0.2",
|
|
100
|
+
"vite": "^8.3.5",
|
|
101
|
+
"vitest": "^5.0.5",
|
|
102
|
+
"vue": "^3.5.44"
|
|
103
|
+
}
|
|
104
|
+
}
|