@gasm-compiler/core 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/package.json ADDED
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@gasm-compiler/core",
3
+ "version": "0.1.0",
4
+ "description": "Gasm Compiler — compile WebAssembly to WGSL (WebGPU Shading Language)",
5
+ "type": "module",
6
+ "main": "./dist/mod.js",
7
+ "types": "./dist/mod.d.ts",
8
+ "browser": "./dist/browser.js",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/mod.d.ts",
12
+ "browser": "./dist/browser.js",
13
+ "import": "./dist/mod.js",
14
+ "default": "./dist/mod.js"
15
+ },
16
+ "./compiler": {
17
+ "types": "./dist/compiler.d.ts",
18
+ "import": "./dist/compiler.js",
19
+ "default": "./dist/compiler.js"
20
+ },
21
+ "./executor": {
22
+ "types": "./dist/executor.d.ts",
23
+ "import": "./dist/executor.js",
24
+ "default": "./dist/executor.js"
25
+ },
26
+ "./browser": {
27
+ "types": "./dist/browser.d.ts",
28
+ "import": "./dist/browser.js",
29
+ "default": "./dist/browser.js"
30
+ },
31
+ "./browser-executor": {
32
+ "types": "./dist/browser-executor.d.ts",
33
+ "import": "./dist/browser-executor.js",
34
+ "default": "./dist/browser-executor.js"
35
+ }
36
+ },
37
+ "files": [
38
+ "dist",
39
+ "LICENSE",
40
+ "README.md"
41
+ ],
42
+ "license": "SEE LICENSE IN LICENSE",
43
+ "publishConfig": {
44
+ "access": "public"
45
+ },
46
+ "keywords": [
47
+ "wasm",
48
+ "webassembly",
49
+ "wgsl",
50
+ "webgpu",
51
+ "compiler",
52
+ "gasm",
53
+ "shader"
54
+ ],
55
+ "peerDependencies": {
56
+ "typescript": "^5.0.0"
57
+ },
58
+ "dependencies": {
59
+ "wabt": "^1.0.39"
60
+ },
61
+ "devDependencies": {
62
+ "tsup": "^8.5.1",
63
+ "typescript": "^5.9.3"
64
+ },
65
+ "scripts": {
66
+ "build": "tsup",
67
+ "test": "deno test --allow-all",
68
+ "test:e2e": "deno test --allow-all --unstable-webgpu --no-check tests/e2e_execution_test.ts",
69
+ "test:e2e:gpu": "ENABLE_GPU_TESTS=1 deno test --allow-all --unstable-webgpu --no-check tests/e2e_execution_test.ts",
70
+ "lint": "biome lint ."
71
+ }
72
+ }