Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.45 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 2.45 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "ogpu",
"version": "0.20.1",
"description": "A hand-rolled WebGPU engine starter",
"type": "module",
"main": "./src/index.js",
"exports": {
".": {
"types": "./types/ogpu.d.ts",
"default": "./src/index.js"
},
"./src/*": "./src/*"
},
"sideEffects": [
"./src/utils/float16-shim.js",
"./src/utils/float16-unshim.js",
"./src/utils/webgpu-utils.js"
],
"types": "./types/ogpu.d.ts",
"directories": {
"example": "examples"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oframe/ogpu.git"
},
"author": {
"name": "Douglas Lilliequist",
"email": "douglas.lilliequist@gmail.com"
},
"license": "Unlicense",
"bugs": {
"url": "https://github.com/oframe/ogpu/issues"
},
"homepage": "https://github.com/oframe/ogpu#readme",
"keywords": [
"webgpu",
"engine",
"graphics",
"starter",
"template",
"ogl"
],
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"validate:shaders": "node scripts/validate-shaders.mjs",
"build:font": "node scripts/build-msdf-font.mjs",
"repomap": "node scripts/build-api-digest.mjs && node scripts/build-module-graph.mjs",
"repomap:check": "npm run repomap && git diff --exit-code -- api-digest.md module-graph.json",
"prepare": "git config core.hooksPath .githooks || true",
"generate:sh": "node tools/generateSH.mjs"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.6.0",
"prettier": "^3.8.3",
"vite": "^6.0.1"
},
"dependencies": {
"parse-exr": "^1.0.2",
"tweakpane": "^4.0.5",
"webgpu-utils": "2.1.1",
"wgpu-matrix": "3.4.2"
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"printWidth": 200,
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5",
"useTabs": false
}
}