A template for creating FiveM resources with TypeScript.
Use any of the options below to initialise your resource.
Using bun create
bun create overextended/fivem-ts <name>Using GitHub CLI
gh repo create <name> --template=overextended/fivem-tsInitialise your project to set the project name and optionally scaffold a new web app.
bun install
bun run initCustomise package.json with the author, repository, and any other relevant information. This information is added to the fxmanifest when building the project.
Build all resource files in production mode using tsdown.
Run tsdown in watch mode, to actively rebuild resource files as they are modified.
Run Oxlint to analyse your project for potential errors, bugs, and code quality issues.
Run Oxfmt to automatically reformat your project and ensure consistent code styling.
Runs the Vite dev server for live web development.
Builds your web project in production mode.
Runs the bun tsd and bun webbuild scripts to create a complete production-ready build of your project.
Contains translation files used with the ox_lib locales module.
Static assets served directly without processing or bundling.
Main project source code.
Scripts used during project development.
Type definitions used across the project.