2.3.0 • Published 1 year ago

rbxts-transform-package-json v2.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.

2.3.0

1 year ago

2.2.1

1 year ago

2.2.0

1 year ago