0.4.1 • Published 4 years ago

@falconpilot/roll20-ts-builder v0.4.1

Weekly downloads
31
License
-
Repository
-
Last release
4 years ago

Roll20 TS Builder

Installation

  • With npm : npm install roll20-ts-builder
  • With yarn : yarn install roll20-ts-builder

This is still a work in progress and far from complete.

Disclaimer

This is an unofficial project and is not endorsed or related in any way to Roll20's team or creators. I'm just a guy who enjoys tabletop gaming and statically typed programming languages, so...

I have nothing to do with Roll20 aside from being a very regular gamemaster/player on this platform. Check them out right here if you don't know what it is, it's pretty cool if you like (or if you would like getting into) online tabletop gaming.

What exactly is this ?

The thing is, I love Roll20, and I love that you can create your own character sheets using HTML, CSS or JS. But it's 2020 and I just love my more modern techs (Typescript, Styled-Components, React, etc...) - and therefore have a strong feeling of having to deal with legacy-flavored code when building character sheets.

So this is my take on resolving the matter (at least for me) : a TypeScript builder that can handle building HTML, CSS and JS worker scripts to make custom, compiled character sheets with modern techs.

It comes with a library exposing utilitary types and a CLI to build HTML/CSS files and embed JS worker scripts.

Required dependancies

The library requires the following dependencies for an optimal usage :

  • react
  • react-dom
  • @emotion/react
  • @emotion/styled

CLI usage

ts-roll20 --init

Initialize a standard, renamable project directory

ts-roll20 --build [baseDir]

Build a project, using the roll20.config.ts file in the [baseDir] directory.

0.4.1

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.14

4 years ago

0.2.13

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.7

4 years ago

0.2.8

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.3

4 years ago

0.2.4

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.1.11

4 years ago

0.2.0

4 years ago

0.1.10

4 years ago

0.1.7

4 years ago

0.1.9

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago