UNPKG

use-macro

Version:

ESBuild plugin that allows you to execute functions at compile time and inline the output

48 lines 1.21 kB
{ "name": "use-macro", "version": "1.1.0", "description": "ESBuild plugin that allows you to execute functions at compile time and inline the output", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "files": [ "dist" ], "scripts": { "build": "tsc", "test": "cd ./examples && bun run build" }, "repository": { "type": "git", "url": "git+https://github.com/twlite/use-macro.git" }, "keywords": [ "macro", "esbuild", "compile-time", "plugin" ], "author": "Twilight <hello@twlite.dev>", "license": "MIT", "bugs": { "url": "https://github.com/twlite/use-macro/issues" }, "homepage": "https://github.com/twlite/use-macro#readme", "devDependencies": { "@types/babel__generator": "^7.6.8", "@types/babel__traverse": "^7.20.6", "@types/node": "^22.10.2", "esbuild": "^0.24.2", "typescript": "^5.7.2" }, "dependencies": { "@babel/core": "^7.26.0", "@babel/generator": "^7.26.3", "@babel/parser": "^7.26.3", "@babel/preset-typescript": "^7.26.0", "@babel/traverse": "^7.26.4", "@babel/types": "^7.26.3", "@types/babel__core": "^7.20.5", "devalue": "^5.1.1" } }