@nativewrappers/fivem 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +33 -0
  2. package/package.json +3 -2
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ <h1 align="center">Monorepo for a FiveM server/client wrapper</h1>
2
+
3
+ <p align="center">
4
+ <i>:fire: A Javascript/Typescript wrapper for the FiveM server natives :video_game:</i>
5
+ <br>
6
+ <br>
7
+ <a href="https://github.com/nativewrappers/fivem-server/blob/master/LICENSE">
8
+ <img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat" alt="License: MIT">
9
+ </a>
10
+ <a href="https://github.com/nativewrappers/fivem/commits/master">
11
+ <img src="https://img.shields.io/github/last-commit/nativewrappers/fivem.svg?style=flat" alt="Last commit">
12
+ </a>
13
+ </p>
14
+
15
+ <p align="center">
16
+ <a href="https://fivemjs-server.avarian.dev/">Documentation</a>
17
+ -
18
+ <a href="https://forum.fivem.net/t/fivem-js-v1-3-2-javascript-typescript-wrapper-now-with-menu-class-nativeui/268640">Forum</a>
19
+ </p>
20
+
21
+ This project is in no way affiliated with FiveM or the Cfx Collective.
22
+
23
+ ## Features
24
+ - No runtime dependencies
25
+ - Abstracts common used FiveM practices
26
+ - Entity management through class objects (i.e. `Vehicle` and `Ped` entities)
27
+
28
+
29
+ ## Download & Install
30
+
31
+ `pnpm add @nativewrappers/fivem-server`
32
+
33
+
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "Remco Troost <d0p3t>",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "version": "0.0.6",
7
+ "version": "0.0.7",
8
8
  "publishConfig": {
9
9
  "directory": "lib"
10
10
  },
@@ -49,7 +49,8 @@
49
49
  },
50
50
  "scripts": {
51
51
  "delete": "rm -rf lib",
52
- "build": "tsc --build && tsc-alias && cp package.json lib/package.json",
52
+ "build": "pnpm run delete && tsc --build && tsc-alias && pnpm run copy-data",
53
+ "copy-data": "cp package.json lib/package.json && cp README.md lib/README.md",
53
54
  "watch": "tsc --watch",
54
55
  "ci": "pnpm run prettier && pnpm run build",
55
56
  "prettier": "prettier */**/*.ts --check",