85a227e7d5
- Created profileInsurance test fixture.
- Created ProfileInsurance test factory class.
- Improved many of the InsuranceController method tests by utilizing the factory and fixture. Still some left to do here.
- Adds the `date-fns` package as a development dependancy for easy date manipulation.
- Cleaned up some comments.
Bug Fixes 🐞
- Resolved an issue where `ItemHelper.getAttachmentMainParent()` was not returning null when it should have.
- Resolved an issue where `InsuranceController.populateParentAttachmentsMap()` would continue to process when the parent could not be found.
87 lines
2.8 KiB
JSON
87 lines
2.8 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": "rome 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",
|
|
"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": {
|
|
"@babel/preset-env": "7.23.2",
|
|
"@babel/preset-typescript": "7.23.2",
|
|
"@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",
|
|
"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
|
|
}
|
|
}
|
|
}
|