edfe995c52
ItemTplGenerator will create a full ItemTpl.ts and Weapons.ts file with all items and weapons respectively Renamed WeaponTypes to Weapons to better indicate its new format Updated all references to these enums to use the new names New npm command `npm run gen:items` to run this tool Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/364 Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com> Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
105 lines
3.7 KiB
JSON
105 lines
3.7 KiB
JSON
{
|
|
"name": "spt-server",
|
|
"version": "3.9.0",
|
|
"author": "SPT Server",
|
|
"license": "NCSA",
|
|
"main": "obj/bundle.js",
|
|
"repository": "https://dev.sp-tarkov.com/SPT/Server",
|
|
"description": "The single-player modding framework for Escape From Tarkov.",
|
|
"icon": "assets/images/icon.ico",
|
|
"engines": {
|
|
"node": "20.11.1"
|
|
},
|
|
"scripts": {
|
|
"check:circular": "madge --circular --ts-config tsconfig.json --extensions ts ./src/",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint src --fix",
|
|
"style": "prettier src --check",
|
|
"style:fix": "prettier src --write",
|
|
"format": "npm run style:fix && npm run lint:fix",
|
|
"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",
|
|
"build:bleedingmods": "cross-env PKG_CACHE_PATH=\"./.pkg-cache\" gulp build:bleedingmods",
|
|
"run:build": "gulp run:build",
|
|
"run:debug": "gulp run:debug",
|
|
"run:profiler": "gulp run:profiler",
|
|
"gen:types": "tsc -p tsconfig.typedef.json --resolveJsonModule",
|
|
"gen:docs": "typedoc --options ./typedoc.json --entryPointStrategy expand ./src",
|
|
"gen:items": "ts-node -r tsconfig-paths/register ./src/tools/ItemTplGenerator/ItemTplGeneratorProgram.ts"
|
|
},
|
|
"dependencies": {
|
|
"atomically": "~1.7",
|
|
"buffer-crc32": "~1.0",
|
|
"date-fns": "~2.30",
|
|
"date-fns-tz": "~2.0",
|
|
"i18n": "~0.15",
|
|
"json-fixer": "~1.6",
|
|
"json5": "~2.2",
|
|
"jsonc": "~2.0",
|
|
"proper-lockfile": "~4.1",
|
|
"reflect-metadata": "~0.2",
|
|
"semver": "~7.6",
|
|
"source-map-support": "~0.5",
|
|
"string-similarity-js": "~2.1",
|
|
"tsyringe": "~4.8",
|
|
"typescript": "~5.4",
|
|
"winston": "~3.13",
|
|
"winston-daily-rotate-file": "~5.0",
|
|
"ws": "~8.17"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "~9.2",
|
|
"@pnpm/exe": "8.15.4",
|
|
"@stylistic/eslint-plugin": "~1.8",
|
|
"@swc/cli": "~0.3",
|
|
"@swc/core": "~1.4",
|
|
"@types/i18n": "~0.13",
|
|
"@types/node": "~20.11",
|
|
"@types/proper-lockfile": "~4.1",
|
|
"@types/semver": "~7.5",
|
|
"@types/ws": "~8.5",
|
|
"@typescript-eslint/eslint-plugin": "~7.11",
|
|
"@typescript-eslint/parser": "~7.11",
|
|
"@vitest/coverage-istanbul": "~1.6",
|
|
"@vitest/ui": "~1.6",
|
|
"@yao-pkg/pkg": "5.11.5",
|
|
"@yao-pkg/pkg-fetch": "3.5.9",
|
|
"cross-env": "~7.0",
|
|
"eslint": "~8.57",
|
|
"eslint-config-prettier": "~9.1",
|
|
"eslint-import-resolver-typescript": "~3.6",
|
|
"eslint-plugin-import": "~2.29",
|
|
"eslint-plugin-prettier": "~5.1",
|
|
"eslint-plugin-strict-null-checks": "~0.1",
|
|
"eslint-plugin-switch-allman": "~1.0",
|
|
"eslint-plugin-unused-imports": "~3.2",
|
|
"fs-extra": "~11.2",
|
|
"gulp": "~4.0",
|
|
"gulp-decompress": "~3.0",
|
|
"gulp-download": "~0.0.1",
|
|
"gulp-execa": "~6.0",
|
|
"gulp-rename": "~2.0",
|
|
"madge": "~6.1",
|
|
"minimist": "~1.2",
|
|
"prettier": "~3.3",
|
|
"resedit": "~2.0",
|
|
"ts-node-dev": "~2.0",
|
|
"tsconfig-paths": "~4.2",
|
|
"tslint-config-prettier": "~1.18",
|
|
"typedoc": "~0.25",
|
|
"typemoq": "~2.1",
|
|
"typescript-eslint": "~7.11",
|
|
"vitest": "~1.6"
|
|
},
|
|
"targets": {
|
|
"default": {
|
|
"includeNodeModules": true
|
|
}
|
|
}
|
|
}
|