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": {
|
2023-12-15 14:59:45 +01:00
|
|
|
"node": "20.10.0"
|
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",
|
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": {
|
|
|
|
"atomically": "1.7.0",
|
2023-12-15 14:57:25 +01:00
|
|
|
"date-fns": "2.30.0",
|
|
|
|
"date-fns-tz": "2.0.0",
|
2023-03-03 16:23:46 +01:00
|
|
|
"i18n": "0.15.1",
|
|
|
|
"json-fixer": "1.6.15",
|
2023-10-10 13:03:20 +02:00
|
|
|
"json5": "2.2.3",
|
|
|
|
"jsonc": "2.0.0",
|
2023-03-03 16:23:46 +01:00
|
|
|
"proper-lockfile": "4.1.2",
|
2023-12-15 14:57:25 +01:00
|
|
|
"reflect-metadata": "0.2.1",
|
2023-07-09 20:40:05 +02:00
|
|
|
"semver": "7.5.4",
|
2023-03-03 16:23:46 +01:00
|
|
|
"source-map-support": "0.5.21",
|
2023-07-09 20:40:05 +02:00
|
|
|
"tsyringe": "4.8.0",
|
2023-12-15 14:57:25 +01:00
|
|
|
"typescript": "5.3.3",
|
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
|
|
|
"winston": "3.11.0",
|
2023-03-03 16:23:46 +01:00
|
|
|
"winston-daily-rotate-file": "4.7.1",
|
2023-12-15 14:57:25 +01:00
|
|
|
"ws": "8.15.1"
|
2023-03-03 16:23:46 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-12-15 14:57:25 +01:00
|
|
|
"@biomejs/biome": "1.4.1",
|
|
|
|
"@pnpm/exe": "8.12.1",
|
|
|
|
"@swc/cli": "0.1.63",
|
2023-12-21 20:02:07 +01:00
|
|
|
"@swc/core": "1.3.101",
|
2023-12-15 14:57:25 +01:00
|
|
|
"@types/i18n": "0.13.10",
|
2023-12-21 20:02:07 +01:00
|
|
|
"@types/node": "20.10.5",
|
2023-12-15 14:57:25 +01:00
|
|
|
"@types/proper-lockfile": "4.1.4",
|
|
|
|
"@types/semver": "7.5.6",
|
|
|
|
"@types/ws": "8.5.10",
|
2023-12-21 20:02:07 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.15.0",
|
|
|
|
"@typescript-eslint/parser": "6.15.0",
|
|
|
|
"@vitest/coverage-istanbul": "1.1.0",
|
|
|
|
"@vitest/ui": "1.1.0",
|
2023-12-15 14:59:45 +01:00
|
|
|
"@yao-pkg/pkg": "5.11.0",
|
|
|
|
"@yao-pkg/pkg-fetch": "3.5.7",
|
2023-03-03 16:23:46 +01:00
|
|
|
"cross-env": "7.0.3",
|
2023-12-21 20:02:07 +01:00
|
|
|
"dprint": "0.44.0",
|
|
|
|
"eslint": "8.56.0",
|
2023-03-03 16:23:46 +01:00
|
|
|
"gulp": "4.0.2",
|
2024-03-08 19:11:04 +01:00
|
|
|
"gulp-decompress": "3.0.0",
|
|
|
|
"gulp-download": "0.0.1",
|
2023-12-15 14:57:25 +01:00
|
|
|
"gulp-execa": "6.0.0",
|
2023-03-03 16:23:46 +01:00
|
|
|
"gulp-rename": "2.0.0",
|
2023-07-09 20:40:05 +02:00
|
|
|
"madge": "6.1.0",
|
2024-03-08 19:11:04 +01:00
|
|
|
"minimist": "1.2.8",
|
2023-10-10 13:03:20 +02:00
|
|
|
"resedit": "2.0.0",
|
2023-03-03 16:23:46 +01:00
|
|
|
"ts-node-dev": "2.0.0",
|
2023-07-09 20:40:05 +02:00
|
|
|
"tsconfig-paths": "4.2.0",
|
2023-12-15 14:57:25 +01:00
|
|
|
"typedoc": "0.25.4",
|
2023-10-28 05:55:34 +02:00
|
|
|
"typemoq": "2.1.0",
|
2023-12-21 20:02:07 +01:00
|
|
|
"vitest": "1.1.0"
|
2023-03-03 16:23:46 +01:00
|
|
|
},
|
|
|
|
"targets": {
|
|
|
|
"default": {
|
|
|
|
"includeNodeModules": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|