gtavjs-ts-bundler

1.0.2 • Public • Published

GTAVJS TS Bundler

Bundle GTAVJS mod declaration files into a multi-modules index.d.ts file.

npm version

GTAVJS Typing Template Wiki

About GTAVJS

  • Create single-player mods using Typescript.
  • Add your own DLL Assemblies and generate typing directly in-game.
  • Reload mods faster using F9, it doesn't need to reload the AppDomain.
  • Quick project setup, simply use this template and you are good to go.
  • Complete typing for ScriptHookVDotNet3 and LemonUI included.
  • Generate typing for your mods and share them using npm.

Module Usage

Install in mod project

npm install gtavjs-ts-bundler

Use from the root of the mod directory

node node_modules/gtavjs-ts-bundler --declarationDir scripts/ --outputFile index.d.ts

Global Usage

Install Globally

npm install -g gtavjs-ts-bundler

Use from the root of the mod directory

gtavjs-ts-bundler --declarationDir scripts/ --outputFile index.d.ts

Parameters

declarationDir

name: --declarationDir 
alias: -i 
type: String 
defaultValue: scripts/

outputFile

name: --outputFile 
alias: -o 
type: String 
defaultValue: index.d.ts

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i gtavjs-ts-bundler

    Weekly Downloads

    6

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    4.54 kB

    Total Files

    3

    Last publish

    Collaborators

    • konijima