-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.94 KB
/
Copy pathpackage.json
File metadata and controls
54 lines (54 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "tinywebgpu",
"version": "0.4.0",
"type": "module",
"description": "One file, no dependencies, no build step. A WebGPU micro-framework for shader-first work: dual-schema pipelines, fullscreen shaders and compute.",
"main": "./src/tinywebgpu.js",
"types": "./src/tinywebgpu.d.ts",
"exports": {
".": {
"types": "./src/tinywebgpu.d.ts",
"default": "./src/tinywebgpu.js"
}
},
"files": [
"src/",
"dist/",
"docs/API.md",
"README.md",
"LICENSE"
],
"scripts": {
"test": "node test/paths.test.mjs && node test/layout.test.mjs && node test/frame.test.mjs",
"test:min": "TWG_ENTRY=../dist/tinywebgpu.min.js node test/layout.test.mjs && TWG_ENTRY=../dist/tinywebgpu.min.js node test/frame.test.mjs",
"test:tiny": "node tools/build-min.mjs tiny --with=msg,texio,read,show,pingpong,blend,depth,mips,staging,aliases --out=test/.tiny-full.js && TWG_ENTRY=./.tiny-full.js node test/layout.test.mjs && node tools/build-min.mjs tiny --out=test/.tiny-bare.js && TWG_ENTRY=./.tiny-bare.js node test/tiny.test.mjs",
"test:rename": "node tools/build-min.mjs tiny --with=msg --rename --out=test/.tiny-renamed.js && TWG_ENTRY=./.tiny-renamed.js node test/rename.test.mjs",
"test:all": "npm run test && npm run build:min && npm run test:min && npm run test:tiny && npm run test:rename",
"build:min": "node tools/build-min.mjs min",
"build:tiny": "node tools/build-min.mjs tiny",
"build": "npm run build:min && npm run build:tiny"
},
"license": "MIT",
"author": "Matthijs Keuper",
"repository": {
"type": "git",
"url": "git+https://github.com/lampmaker/tinywebgpu.git"
},
"homepage": "https://lampmaker.github.io/tinywebgpu/",
"keywords": [
"webgpu",
"wgsl",
"shader",
"shaders",
"compute",
"compute-shader",
"gpgpu",
"graphics",
"webgpu-framework",
"zero-dependency"
],
"devDependencies": {
"esbuild": "^0.25.0",
"terser": "^5.50.0"
}
}