UNPKG

@fs-eire/wgsl-template

Version:

A powerful template system for generating WGSL (WebGPU Shading Language) code with support for parameters, conditionals, and multiple output formats including C++ code generation.

58 lines (57 loc) 1.53 kB
{ "name": "@fs-eire/wgsl-template", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "version": "0.1.13", "type": "module", "main": "./dist/src/index.js", "bin": { "wgsl-gen": "./dist/bin/cli.js" }, "scripts": { "build": "tsc", "dev": "tsc --watch", "test": "node --loader ts-node/esm test/test-main.ts", "format": "prettier --write .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "prepack": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/fs-eire/wgsl-template.git" }, "author": "fs-eire", "license": "MIT", "bugs": { "url": "https://github.com/fs-eire/wgsl-template/issues" }, "homepage": "https://github.com/fs-eire/wgsl-template#readme", "description": "A powerful template system for generating WGSL (WebGPU Shading Language) code with support for parameters, conditionals, and multiple output formats including C++ code generation.", "keywords": [ "wgsl", "webgpu", "shader", "template", "code-generation", "graphics", "gpu", "cli" ], "dependencies": { "minimist": "^1.2.8" }, "devDependencies": { "@types/minimist": "^1.2.5", "@types/node": "^24.0.1", "@typescript-eslint/eslint-plugin": "^8.34.1", "@typescript-eslint/parser": "^8.34.1", "es-check": "^9.1.4", "eslint": "^9.29.0", "prettier": "^3.5.3", "ts-node": "^10.9.2", "typescript": "^5.8.3" } }