@thi.ng/shader-ast-optimize
Version:
Shader AST code/tree optimization passes/strategies
98 lines (97 loc) • 2.27 kB
JSON
{
"name": "@thi.ng/shader-ast-optimize",
"version": "1.0.52",
"description": "Shader AST code/tree optimization passes/strategies",
"type": "module",
"module": "./index.js",
"typings": "./index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/thi-ng/umbrella.git"
},
"homepage": "https://thi.ng/shader-ast-optimize",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/postspectacular"
},
{
"type": "patreon",
"url": "https://patreon.com/thing_umbrella"
},
{
"type": "liberapay",
"url": "https://liberapay.com/thi.ng"
}
],
"author": "Karsten Schmidt (https://thi.ng)",
"license": "Apache-2.0",
"scripts": {
"build": "yarn build:esbuild && yarn build:decl",
"build:decl": "tsc --declaration --emitDeclarationOnly",
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
"clean": "bun ../../tools/src/clean-package.ts",
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
"pub": "npm publish --access public",
"test": "bun test",
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
},
"dependencies": {
"@thi.ng/api": "^8.12.10",
"@thi.ng/defmulti": "^3.0.86",
"@thi.ng/errors": "^2.5.50",
"@thi.ng/logger": "^3.2.9",
"@thi.ng/math": "^5.14.0",
"@thi.ng/shader-ast": "^1.1.33"
},
"devDependencies": {
"esbuild": "^0.27.0",
"typedoc": "^0.28.14",
"typescript": "^5.9.3"
},
"keywords": [
"ast",
"compiler",
"constant-folding",
"optimization",
"rewrite",
"shader",
"shader-ast",
"tree",
"typescript",
"webgl"
],
"publishConfig": {
"access": "public"
},
"browser": {
"process": false,
"setTimeout": false
},
"engines": {
"node": ">=18"
},
"files": [
"./*.js",
"./*.d.ts"
],
"exports": {
".": {
"default": "./index.js"
},
"./constant-folding": {
"default": "./constant-folding.js"
},
"./defoptimized": {
"default": "./defoptimized.js"
}
},
"thi.ng": {
"alias": "opt",
"parent": "@thi.ng/shader-ast",
"year": 2019
},
"gitHead": "8625a1c6383737a8fdbe7a3f96ea3cbabc957fa6\n"
}