Skip to content

A basic boilerplate to get started using typescript with alt:V

License

Notifications You must be signed in to change notification settings

LosSantosNetwork/TypeScript-Boilerplate

 
 

Repository files navigation

TypeScript-Boilerplate

A basic boilerplate to get started using typescript with alt:V

Installation

To install all dependencies just enter the following:

npm i

Next change the gamemode name from "YOURGAMEMODENAME" in 3 files, tsconfig-client.json, tsconfig-server.json & package.json. There are 4 occurrences in total.

Usage

Best practice is to use 3 terminal windows. (I prefer using cmder on Windows)

npm run build:server:watch //Build server files on the fly
npm run build:client:watch //Build client files on the fly
npm run copy:meta // Copy *.html, *.js, *.css - If you want to copy i.E. .jpg you need to add it to this command

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

A basic boilerplate to get started using typescript with alt:V

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%