Coder Social home page Coder Social logo

altv-typescript's Introduction

Typescript Boilerplate for alt:V - v3.0.5

[ altv.mp | stuyk.com ]

Super Fast Compilation & Auto Reconnection

⌨️ Learn how to script for alt:V

❤️ Become a Sponsor of my Open Source Work

💡 Need a Roleplay Script? Try Athena!

⭐ This repository if you found it useful!

Features

A simple Typescript Boilerplate that builds incredibly fast using the SWC Library.

  • Full alt:V Type Support for VSCode
  • Development Mode with Super Fast Auto Reconnection
  • Built in auto-copy for non-typescript files.
  • Built in handling of multiple resources for compilation.
  • Built in server restart after compilation.
  • Easily expandable resource directory.
  • altv-pkg support for auto-downloading alt:V Server Binaries.
  • Prettier Configuration for code formatting.

Installation

Clone the Repository

Use the command below in any terminal, command prompt, etc.

git clone [email protected]:Stuyk/altv-typescript.git

Install the Repository

Use the command below in any terminal, command prompt, etc.

cd altv-typescript
npm install

Download Server Files

Use the command below in any terminal, command prompt, etc. This will download all necessary server files from an additional package used by this project.

npm run update

Build Typescript Files

Use the command below in any terminal, command prompt, etc. This will build your TypeScript code into JavaScript.

npm run build

Start the Server

Use any of the following commands to start it.

Based on your environment.

Linux Windows Windows Development
npm run linux npm run windows npm run dev

End Server Runtime

Use the key combination ctrl + c to kill your server in your terminal, command prompt, etc.

altv-typescript's People

Contributors

stuyk avatar ethicnology avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.