{
	"name": "@thi.ng/shader-ast-optimize",
	"version": "1.0.73",
	"description": "Shader AST code/tree optimization passes/strategies",
	"type": "module",
	"module": "./index.js",
	"typings": "./index.d.ts",
	"sideEffects": false,
	"repository": {
		"type": "git",
		"url": "git+https://codeberg.org/thi.ng/umbrella.git",
		"directory": "packages/shader-ast-optimize"
	},
	"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.26",
		"@thi.ng/defmulti": "^3.0.103",
		"@thi.ng/errors": "^2.6.15",
		"@thi.ng/logger": "^3.3.9",
		"@thi.ng/math": "^5.15.15",
		"@thi.ng/shader-ast": "^1.1.54"
	},
	"devDependencies": {
		"esbuild": "^0.28.0",
		"typedoc": "^0.28.19",
		"typescript": "^6.0.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": "c47c56420bcae2e0477d252a497be44f08ca185a"
}
