4ac12ef70a
These are the formatting & linting configuration changes from the `3.8.0` branch and the changes that they make to the overall project. The majority of these changes are from running two commands: `npm run lint:fix` `npm run style:fix` This has already been run on the `3.8.0` branch and this PR should make `master` play nicer when it comes to merges going forward. There are now four VSCode plugins recommended for server development. They've been added to the workspace file and a user should get a UI notification when the workspace is opened if they're not installed. The four plugins are: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig https://marketplace.visualstudio.com/items?itemName=dprint.dprint https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint https://marketplace.visualstudio.com/items?itemName=biomejs.biome Once installed they should just work within the workspace. Also, be sure to `npm i` to get the new dprint application. Co-authored-by: Refringe <brownelltyler@gmail.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/168
91 lines
3.0 KiB
JSON
91 lines
3.0 KiB
JSON
{
|
|
"name": "aki-server",
|
|
"version": "3.7.1",
|
|
"author": "SPT-AKI Server",
|
|
"license": "NCSA",
|
|
"main": "obj/bundle.js",
|
|
"repository": "https://dev.sp-tarkov.com/SPT-AKI/Server",
|
|
"description": "The single-player modding framework for Escape From Tarkov.",
|
|
"icon": "assets/images/icon.ico",
|
|
"engines": {
|
|
"node": "18.15.0"
|
|
},
|
|
"scripts": {
|
|
"check:circular": "madge --circular --ts-config tsconfig.json --extensions ts ./src/",
|
|
"lint": "biome ci src --formatter-enabled=false --max-diagnostics=200",
|
|
"lint:fix": "biome check --apply-unsafe --max-diagnostics=200 . && dprint fmt --incremental=false",
|
|
"style": "dprint check --incremental=false",
|
|
"style:fix": "dprint fmt --incremental=false",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:ui": "vitest --ui --coverage",
|
|
"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",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"atomically": "1.7.0",
|
|
"i18n": "0.15.1",
|
|
"json-fixer": "1.6.15",
|
|
"json5": "2.2.3",
|
|
"jsonc": "2.0.0",
|
|
"proper-lockfile": "4.1.2",
|
|
"reflect-metadata": "0.1.13",
|
|
"semver": "7.5.4",
|
|
"source-map-support": "0.5.21",
|
|
"tsyringe": "4.8.0",
|
|
"typescript": "5.2.2",
|
|
"winston": "3.11.0",
|
|
"winston-daily-rotate-file": "4.7.1",
|
|
"ws": "8.14.2"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.3.3",
|
|
"@jest/globals": "29.7.0",
|
|
"@pnpm/exe": "8.9.0",
|
|
"@swc/cli": "0.1.62",
|
|
"@swc/core": "1.3.92",
|
|
"@swc/jest": "0.2.29",
|
|
"@types/i18n": "0.13.7",
|
|
"@types/jest": "29.5.5",
|
|
"@types/node": "18.18.4",
|
|
"@types/proper-lockfile": "4.1.2",
|
|
"@types/semver": "7.5.3",
|
|
"@types/ws": "8.5.7",
|
|
"@typescript-eslint/eslint-plugin": "6.7.5",
|
|
"@typescript-eslint/parser": "6.7.5",
|
|
"cross-env": "7.0.3",
|
|
"dprint": "0.42.5",
|
|
"eslint": "8.51.0",
|
|
"gulp": "4.0.2",
|
|
"gulp-execa": "5.0.1",
|
|
"gulp-rename": "2.0.0",
|
|
"jest": "29.7.0",
|
|
"madge": "6.1.0",
|
|
"pkg": "5.8.1",
|
|
"pkg-fetch": "3.5.2",
|
|
"resedit": "2.0.0",
|
|
"ts-jest": "29.1.1",
|
|
"ts-node-dev": "2.0.0",
|
|
"tsconfig-paths": "4.2.0",
|
|
"typedoc": "0.25.2",
|
|
"typemoq": "2.1.0"
|
|
},
|
|
"overrides": {
|
|
"pkg": {
|
|
"pkg-fetch": "3.5.2"
|
|
}
|
|
},
|
|
"targets": {
|
|
"default": {
|
|
"includeNodeModules": true
|
|
}
|
|
}
|
|
}
|