gx
chenyc
2025-06-12 7b72ac13a83764a662159d4a49b7fffb90476ecb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "name": "@webgpu/types",
  "repository": "gpuweb/types",
  "homepage": "https://github.com/gpuweb/types",
  "bugs": "https://github.com/gpuweb/types/issues",
  "version": "0.1.38",
  "main": "",
  "types": "dist/index.d.ts",
  "license": "BSD-3-Clause",
  "files": [
    "dist/**/*"
  ],
  "scripts": {
    "test": "for t in tests/*/ ; do (cd \"$t\" && npm i && npm test); done",
    "build-docs": "cd tsdoc-src && npm ci && npm run build",
    "generate": "bikeshed-to-ts --in ./gpuweb/spec/index.bs --out ./generated/index.d.ts --forceGlobal --nominal && prettier -w generated/index.d.ts",
    "format": "prettier -w dist/index.d.ts"
  },
  "devDependencies": {
    "bikeshed-to-ts": "github:toji/bikeshed-to-ts",
    "prettier": "^2.2.1"
  }
}