@tty-pt/lamina 0.0.0-stage → 1.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 +24 -0
- package/README.md +55 -2
- package/dist/bridge.d.ts +10 -0
- package/dist/bridge.js +430 -0
- package/dist/index.d.ts +64 -0
- package/dist/index.js +263 -0
- package/dist/lamina.wasm +0 -0
- package/dist/renderer.js +143 -0
- package/include/ttypt/lam-cam.h +150 -0
- package/include/ttypt/lam-font.h +119 -0
- package/include/ttypt/lam-key.h +211 -0
- package/include/ttypt/lam-tm.h +148 -0
- package/include/ttypt/lam-ui.h +426 -0
- package/include/ttypt/lam.h +372 -0
- package/include/ttypt/webgl.h +286 -0
- package/package.json +49 -4
- package/prebuilds/darwin-arm64/lamina.node +0 -0
- package/prebuilds/darwin-x64/lamina.node +0 -0
- package/prebuilds/linux-x64/lamina.node +0 -0
- package/prebuilds/win32-x64/lamina.node +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tty-pt/lamina",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Universal Node.js and Browser bindings for liblamina 2D/3D immediate-mode canvas and WebGL graphics engine",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./cap": {
|
|
14
|
+
"types": "./dist/bridge.d.ts",
|
|
15
|
+
"default": "./dist/bridge.js"
|
|
16
|
+
},
|
|
17
|
+
"./bridge": {
|
|
18
|
+
"types": "./dist/bridge.d.ts",
|
|
19
|
+
"default": "./dist/bridge.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"include",
|
|
25
|
+
"README.md",
|
|
26
|
+
"prebuilds"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build:native": "mkdir -p build/Release && gcc -O3 -fPIC -shared -I/usr/include/node native/lamina_napi.c -lm -o build/Release/lamina_node.node 2>/dev/null || true",
|
|
30
|
+
"build:wasm": "make -C .. wasm",
|
|
31
|
+
"build": "npm run build:native && npm run build:wasm",
|
|
32
|
+
"test": "node --test tests/lamina.test.mjs"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"@tty-pt/stele": ">=1.6.2"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@tty-pt/stele": "^1.6.2"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"lamina",
|
|
42
|
+
"liblamina",
|
|
43
|
+
"graphics",
|
|
44
|
+
"canvas",
|
|
45
|
+
"webgl",
|
|
46
|
+
"2d",
|
|
47
|
+
"tilemap"
|
|
48
|
+
],
|
|
49
|
+
"author": "Paulo Quirino",
|
|
50
|
+
"license": "BSD-2-Clause"
|
|
51
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|