2.3.0 • Published 1 year ago
rbxts-transform-package-json v2.3.0
rbxts-transform-env
Transformer for Roblox TypeScript compiler that allows fetching of package.json
Installation
npm i rbxts-transform-package-json
, then in your tsconfig.json:
"compilerOptions": {
...
"plugins": [
{
"transform": "rbxts-transform-package-json"
}
],
}
Usage
$package
This is the one and only function that comes with this transformer. Call it to retrieve your package.json object.