047884e9c7
- Adds tests for the remaining methods in the `InsuranceController`. - Adds a `countAllInsuranceItems()` method to the `InsuranceController`. - Adds the Vitest UI and coverage packages. - Updates the `profileInsuranceFactory` to use second-epoch dates instead of millisecond-epoch dates. - Updates the `InsuranceController.fetchHideoutItemParent()` method to log a warning when an item with a slotId of 'hideout' cannot be found. TODO: - The Vitest coverage options are not working.
90 lines
2.9 KiB
JSON
90 lines
2.9 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 --extensions ts ./src/",
|
|
"lint": "biome ci src --formatter-enabled=false --max-diagnostics=200",
|
|
"lint:fix": "eslint --fix --ext .ts src/**",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:ui": "vitest --ui",
|
|
"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",
|
|
"@types/i18n": "0.13.7",
|
|
"@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",
|
|
"@vitest/coverage-v8": "1.0.0-beta.3",
|
|
"@vitest/ui": "1.0.0-beta.3",
|
|
"c8": "^8.0.1",
|
|
"cross-env": "7.0.3",
|
|
"date-fns": "^2.30.0",
|
|
"eslint": "8.51.0",
|
|
"gulp": "4.0.2",
|
|
"gulp-execa": "5.0.1",
|
|
"gulp-rename": "2.0.0",
|
|
"madge": "6.1.0",
|
|
"pkg": "5.8.1",
|
|
"pkg-fetch": "3.5.2",
|
|
"resedit": "2.0.0",
|
|
"rome": "12.1.3",
|
|
"ts-node-dev": "2.0.0",
|
|
"tsconfig-paths": "4.2.0",
|
|
"typedoc": "0.25.2",
|
|
"typemoq": "2.1.0",
|
|
"vitest": "1.0.0-beta.3"
|
|
},
|
|
"overrides": {
|
|
"pkg": {
|
|
"pkg-fetch": "3.5.2"
|
|
}
|
|
},
|
|
"targets": {
|
|
"default": {
|
|
"includeNodeModules": true
|
|
}
|
|
}
|
|
}
|