4.1.0 • Published 5 years ago
onetap-ts v4.1.0
Onetap-ts beta
Typescript support for onetap.com js
Instalation
- Run onetap-ts installer
# this must be run from the 'ot' folder
# [CSGO INSTALL LOCATION]\Counter-Strike Global Offensive\ot
npx onetap-ts initUsage
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 buildThis generates ES5 .js into ot/scripts
For development you can use:
npm startThis does the same as build, but automatically updates on save.
npm start & npm run build have to be run in ot/onetap-ts
Issues
- Pls report issues (also accepting feature requests)