2023-03-03 16:23:46 +01:00
|
|
|
{
|
|
|
|
"name": "aki-server",
|
2023-11-17 05:35:11 +01:00
|
|
|
"version": "3.8.0",
|
2023-10-10 13:03:20 +02:00
|
|
|
"author": "SPT-AKI Server",
|
2023-03-03 16:23:46 +01:00
|
|
|
"license": "NCSA",
|
|
|
|
"main": "obj/bundle.js",
|
|
|
|
"repository": "https://dev.sp-tarkov.com/SPT-AKI/Server",
|
2023-10-10 13:03:20 +02:00
|
|
|
"description": "The single-player modding framework for Escape From Tarkov.",
|
2023-03-03 16:23:46 +01:00
|
|
|
"icon": "assets/images/icon.ico",
|
|
|
|
"engines": {
|
2024-03-14 10:08:40 +01:00
|
|
|
"node": "20.11.1"
|
2023-03-03 16:23:46 +01:00
|
|
|
},
|
|
|
|
"scripts": {
|
2023-11-02 00:59:12 +01:00
|
|
|
"check:circular": "madge --circular --ts-config tsconfig.json --extensions ts ./src/",
|
2023-10-31 17:03:45 +01:00
|
|
|
"lint": "biome ci src --formatter-enabled=false --max-diagnostics=200",
|
2023-11-13 17:37:49 +01:00
|
|
|
"lint:fix": "biome check --apply-unsafe --max-diagnostics=200 . && dprint fmt --incremental=false",
|
2023-11-10 17:29:56 +01:00
|
|
|
"style": "dprint check --incremental=false",
|
|
|
|
"style:fix": "dprint fmt --incremental=false",
|
2023-10-28 05:55:34 +02:00
|
|
|
"test": "vitest run",
|
|
|
|
"test:watch": "vitest",
|
|
|
|
"test:coverage": "vitest run --coverage",
|
2023-11-04 18:09:14 +01:00
|
|
|
"test:ui": "vitest --ui --coverage",
|
2023-10-10 13:03:20 +02:00
|
|
|
"build:release": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp build:release",
|
|
|
|
"build:debug": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp build:debug",
|
|
|
|
"build:bleeding": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp build:bleeding",
|
2024-03-16 21:11:24 +01:00
|
|
|
"build:bleedingmods": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp build:bleedingmods",
|
Updated dependencies + A few other things (!150)
Initially this was going to be an update to dependencies but it seems i got a little carried away!
Anyways this PR removes 2 unused dependencies (`jshint` and `utf-8-validate`), and 2 other, `del` and `fs-extra` that were replaced by the built-in `fs/promises`.
It also renames all `tsconfig` and `Dockerfile` files, in a way that when viewed in a file tree sorted alphabetically they will be next to each other.
It also updates the typescript target to `ES2022`, and changes moduleResolution from `Node` to `Node10` (this isn't an update, they are the same thing but `Node` is now deprecated).
It also adds the `node:` discriminator to every import from built-in modules.
It also has major changes to the build script, `del` and `fs-extra` were only being used in the build script, it's now using `fs/promises` instead, cleaned up the code from some functions, adds better documentation to a few functions, and renames some gulp tasks and npm scripts to better represent what they actually do.
And finally it updates dependencies, except for `atomically` which can't be updated unless the project switches to ESM.
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/150
Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
Co-committed-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
2023-10-14 11:01:41 +02:00
|
|
|
"run:build": "gulp run:build",
|
|
|
|
"run:debug": "gulp run:debug",
|
|
|
|
"run:profiler": "gulp run:profiler",
|
|
|
|
"gen:types": "tsc -p tsconfig.typedef.json",
|
|
|
|
"gen:docs": "typedoc --options ./typedoc.json --entryPointStrategy expand ./src"
|
2023-03-03 16:23:46 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-03-14 10:08:40 +01:00
|
|
|
"atomically": "~1.7",
|
2024-03-29 19:43:36 +01:00
|
|
|
"buffer-crc32": "^1.0.0",
|
2024-04-10 11:48:28 +02:00
|
|
|
"closest-match": "~1.3",
|
2024-03-14 10:08:40 +01:00
|
|
|
"date-fns": "~2.30",
|
|
|
|
"date-fns-tz": "~2.0",
|
|
|
|
"i18n": "~0.15",
|
|
|
|
"json-fixer": "~1.6",
|
|
|
|
"json5": "~2.2",
|
|
|
|
"jsonc": "~2.0",
|
|
|
|
"proper-lockfile": "~4.1",
|
|
|
|
"reflect-metadata": "~0.2",
|
|
|
|
"semver": "~7.6",
|
|
|
|
"source-map-support": "~0.5",
|
|
|
|
"tsyringe": "~4.8",
|
|
|
|
"typescript": "~5.4",
|
|
|
|
"winston": "~3.12",
|
|
|
|
"winston-daily-rotate-file": "~5.0",
|
|
|
|
"ws": "~8.16"
|
2023-03-03 16:23:46 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-03-14 10:08:40 +01:00
|
|
|
"@biomejs/biome": "~1.6",
|
|
|
|
"@pnpm/exe": "8.15.4",
|
|
|
|
"@swc/cli": "~0.3",
|
|
|
|
"@swc/core": "~1.4",
|
|
|
|
"@types/i18n": "~0.13",
|
|
|
|
"@types/node": "~20.11",
|
|
|
|
"@types/proper-lockfile": "~4.1",
|
|
|
|
"@types/semver": "~7.5",
|
|
|
|
"@types/ws": "~8.5",
|
|
|
|
"@typescript-eslint/eslint-plugin": "~7.2",
|
|
|
|
"@typescript-eslint/parser": "~7.2",
|
|
|
|
"@vitest/coverage-istanbul": "~1.3",
|
|
|
|
"@vitest/ui": "~1.3",
|
|
|
|
"@yao-pkg/pkg": "5.11.5",
|
|
|
|
"@yao-pkg/pkg-fetch": "3.5.9",
|
|
|
|
"cross-env": "~7.0",
|
|
|
|
"dprint": "~0.45",
|
|
|
|
"eslint": "~8.57",
|
|
|
|
"fs-extra": "~11.2",
|
|
|
|
"gulp": "~4.0",
|
|
|
|
"gulp-decompress": "~3.0",
|
|
|
|
"gulp-download": "~0.0.1",
|
|
|
|
"gulp-execa": "~6.0",
|
|
|
|
"gulp-rename": "~2.0",
|
|
|
|
"madge": "~6.1",
|
|
|
|
"minimist": "~1.2",
|
|
|
|
"resedit": "~2.0",
|
|
|
|
"ts-node-dev": "~2.0",
|
|
|
|
"tsconfig-paths": "~4.2",
|
|
|
|
"typedoc": "~0.25",
|
|
|
|
"typemoq": "~2.1",
|
|
|
|
"vitest": "~1.3"
|
2023-03-03 16:23:46 +01:00
|
|
|
},
|
|
|
|
"targets": {
|
|
|
|
"default": {
|
|
|
|
"includeNodeModules": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|