esbuild-plugin-glsl
Version:
An esbuild plugin that adds support for shader imports.
70 lines (69 loc) • 1.48 kB
JSON
{
"name": "esbuild-plugin-glsl",
"version": "1.4.2",
"description": "An esbuild plugin that adds support for shader imports.",
"homepage": "https://github.com/vanruesc/esbuild-plugin-glsl",
"license": "Zlib",
"type": "module",
"sideEffects": false,
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"keywords": [
"esbuild",
"plugin",
"glsl",
"frag",
"vert",
"wgsl",
"shader",
"import",
"compress",
"minify"
],
"author": {
"name": "Raoul van Rüschen",
"email": "vanruesc@outlook.de"
},
"repository": {
"url": "git+https://github.com/vanruesc/esbuild-plugin-glsl.git"
},
"bugs": {
"url": "https://github.com/vanruesc/esbuild-plugin-glsl/issues"
},
"files": [
"dist"
],
"engines": {
"node": ">= 18"
},
"scripts": {
"build": "node esbuild",
"clean": "del-cli dist test/generated",
"dts": "tsc -p tsconfig.d.json",
"lint": "eslint --fix src test",
"pretest": "run-s clean dts lint build",
"test": "node --import tsx --test test/test.ts",
"prepublishOnly": "run-s test"
},
"peerDependencies": {
"esbuild": "0.x.x"
},
"devDependencies": {
"@types/node": "26.x.x",
"del-cli": "7.x.x",
"esbuild": "0.28.x",
"eslint": "10.x.x",
"eslint-config-aether": "3.x.x",
"npm-run-all": "4.x.x",
"tsx": "4.x.x",
"typescript": "6.0.x"
}
}