diff --git a/biome.json b/biome.json index 3ef3e3a..b0a61b1 100644 --- a/biome.json +++ b/biome.json @@ -6,7 +6,8 @@ "useIgnoreFile": false }, "files": { - "ignoreUnknown": false + "ignoreUnknown": false, + "includes": ["**", "!dist/*"] }, "formatter": { "enabled": true @@ -14,7 +15,13 @@ "linter": { "enabled": true, "rules": { - "recommended": true + "recommended": true, + "complexity": { + "noBannedTypes": "info" + }, + "suspicious": { + "noExplicitAny": "info" + } } }, "javascript": { diff --git a/rpc/package.json b/rpc/package.json index 17af1eb..82bb2d8 100644 --- a/rpc/package.json +++ b/rpc/package.json @@ -1,11 +1,11 @@ { "name": "@entityseven/fivem-rpc", - "description": "FiveM RPC is an abstraction for events in GTA V FiveM servers in JS/TS", + "description": "FiveM RPC is an abstraction for handling events in GTA V FiveM servers in JS/TS", "version": "0.1.0", - "main": "", - "types": "", + "main": "dist/index.js", + "types": "dist/index.d.ts", "files": [ - "types/**/*", + "dist/**/*", "readme.md", "license.md" ], @@ -15,7 +15,6 @@ "fivem", "gta" ], - "type": "module", "author": "Entity Seven Group", "contributors": [ { @@ -25,6 +24,13 @@ } ], "license": "Custom-Attribution-NoDerivs", + "repository": { + "type": "git", + "url": "https://github.com/rilaxik/fivem-rpc.git" + }, + "scripts": { + "build": "tsup" + }, "devDependencies": { "@microsoft/api-extractor": "^7.47.9", "@citizenfx/client": "^2.0.15015-1", diff --git a/shared-types/package.json b/shared-types/package.json index 7cd1f00..176edf1 100644 --- a/shared-types/package.json +++ b/shared-types/package.json @@ -24,6 +24,10 @@ } ], "license": "Custom-Attribution-NoDerivs", + "repository": { + "type": "git", + "url": "https://github.com/rilaxik/fivem-rpc.git" + }, "peerDependencies": { "typescript": "^5" }