1.0.15 • Published 3 years ago

@remqb/burgwarts v1.0.15

Weekly downloads
6
License
ISC
Repository
github
Last release
3 years ago

BurgWarTypes

Requirements

  • node

Installation

npm install -D typescript-to-lua ts-node @remqb/burgwarts 

Example tsconfig.json

The plugin is required if you want to type entity properties and inheritance. ts-node.skipIgnore is required for the plugin.

See the tstl documentation for additional options.

{
    "compilerOptions": {
        "target": "esnext",
        "outDir": "dist/",
        "module": "commonjs",
        "lib": ["esnext"],
        "strict": true,
        "sourceMap": true,
        "moduleResolution": "node",
        "rootDir": "./src",
        "types": [
            "lua-types/5.3",
            "@remqb/burgwarts",
            "typescript-to-lua/language-extensions"
        ],
        "inlineSources": true,
        "allowJs": true,
        "noImplicitAny": true
    },
    "ts-node": {
        "skipIgnore": true
    },
    "tstl": {
        "luaTarget": "5.3",
        "luaLibImport": "require",
        "noImplicitSelf": true,
        "luaPlugins": [{
            "name": "@remqb/burgwarts/plugin"
        }]
    }
}

Usage

All types should be available when adding burgwarts to types array in tsconfig.json

You can compile your scripts with this command:

npx tstl

You can add the --watch option if you want it to recompile your files when they are modified.

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago