Skip to content
This repository was archived by the owner on Mar 15, 2021. It is now read-only.

marwuint/onetap-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Onetap-ts [beta]

Typescript support for onetap.com js

Instalation

# this must be run from the 'ot' folder
# [CSGO INSTALL LOCATION]\Counter-Strike Global Offensive\ot
npx onetap-ts init

Usage

If you use VSCode, you should automatically get better autocomplete. For other editors you might need to install a TS language server.

After installation you can start adding scripts to ot/onetap-ts.


To transpile scripts once run:

npm run build

This generates ES5 .js into ot/scripts


For development you can use:

npm start

This does the same as build, but automatically updates on save.

npm start & npm run build have to be run in ot/onetap-ts


Issues

xd

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors