c1a4c544bc
Replaced calls (where possible) to JSON.parse/stringify with use of `jsonUtil` functions `VFS.ts` was tricky, it can't be updated as it'd create a circular dependency Also add json5 to package.json for modders to have access to Co-authored-by: Dev <dev@dev.sp-tarkov.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/112
87 lines
3.0 KiB
JSON
87 lines
3.0 KiB
JSON
{
|
|
"name": "aki-server",
|
|
"version": "3.5.1",
|
|
"author": "SPT-AKI",
|
|
"license": "NCSA",
|
|
"main": "obj/bundle.js",
|
|
"repository": "https://dev.sp-tarkov.com/SPT-AKI/Server",
|
|
"description": "Modding framework for Escape From Tarkov",
|
|
"icon": "assets/images/icon.ico",
|
|
"engines": {
|
|
"node": "16.17.1"
|
|
},
|
|
"scripts": {
|
|
"profilerCompile": "tsc -p test_tsconfig.json",
|
|
"run:profiler": "npm run profilerCompile && node --prof --inspect --trace-warnings obj/ide/TestEntry.js",
|
|
"check:circular": "npx madge --circular --extensions ts ./src/",
|
|
"lint": "rome ci src --formatter-enabled=false --max-diagnostics=200",
|
|
"lint:fix": "eslint --fix --ext .ts src/**",
|
|
"test:debug": "gulp test:debug",
|
|
"test:run": "jest --colors --runInBand",
|
|
"test:coverage": "jest --coverage --maxWorkers=1 --no-cache",
|
|
"build:release": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp gen:release",
|
|
"build:debug": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp gen:debug",
|
|
"build:bleeding": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp gen:bleeding",
|
|
"gen:types": "tsc -p typedef_tsconfig.json",
|
|
"gen:docs": "typedoc --options ./typedoc.json --entryPointStrategy expand ./src",
|
|
"run:server": "gulp run:server"
|
|
},
|
|
"dependencies": {
|
|
"atomically": "1.7.0",
|
|
"i18n": "0.15.1",
|
|
"jshint": "2.13.6",
|
|
"json-fixer": "1.6.15",
|
|
"proper-lockfile": "4.1.2",
|
|
"reflect-metadata": "0.1.13",
|
|
"semver": "7.5.4",
|
|
"source-map-support": "0.5.21",
|
|
"tsyringe": "4.8.0",
|
|
"typedoc": "0.24.8",
|
|
"typescript": "5.1.6",
|
|
"winston": "3.10.0",
|
|
"winston-daily-rotate-file": "4.7.1",
|
|
"ws": "8.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.22.9",
|
|
"@babel/preset-typescript": "^7.22.5",
|
|
"@jest/globals": "29.6.2",
|
|
"@swc/cli": "0.1.62",
|
|
"@swc/core": "1.3.72",
|
|
"@swc/jest": "0.2.27",
|
|
"@types/i18n": "0.13.6",
|
|
"@types/jest": "29.5.3",
|
|
"@types/node": "20.4.5",
|
|
"@types/proper-lockfile": "4.1.2",
|
|
"@types/semver": "7.5.0",
|
|
"@types/ws": "8.5.5",
|
|
"@typescript-eslint/eslint-plugin": "6.2.0",
|
|
"@typescript-eslint/parser": "6.2.0",
|
|
"cross-env": "7.0.3",
|
|
"del": "7.0.0",
|
|
"eslint": "8.46.0",
|
|
"fs-extra": "11.1.1",
|
|
"gulp": "4.0.2",
|
|
"gulp-execa": "5.0.0",
|
|
"gulp-rename": "2.0.0",
|
|
"jest": "29.6.2",
|
|
"json5": "2.2.3",
|
|
"jsonc": "2.0.0",
|
|
"madge": "6.1.0",
|
|
"pkg": "5.8.1",
|
|
"pkg-fetch": "3.5.2",
|
|
"rcedit": "3.0.1",
|
|
"rome": "12.1.3",
|
|
"ts-jest": "29.1.1",
|
|
"ts-node-dev": "2.0.0",
|
|
"tsconfig-paths": "4.2.0",
|
|
"typemoq": "2.1.0",
|
|
"utf-8-validate": "6.0.3"
|
|
},
|
|
"targets": {
|
|
"default": {
|
|
"includeNodeModules": true
|
|
}
|
|
}
|
|
}
|