-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
59 lines (59 loc) · 2.54 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "path-to-tarkov",
"displayName": "Path To Tarkov",
"fullName": "Trap-PathToTarkov",
"version": "5.3.3",
"main": "src/mod.js",
"license": "MIT",
"author": "Trap",
"sptVersion": "3.9.x",
"scripts": {
"dev:install": "npm run build && npm run build:client && npm run prepare:files && node scripts/install-files.js",
"git:check:status": "bash scripts/check-git-status.sh",
"gather:external:resources": "bash scripts/gather-external-resources.sh && npm run prettier",
"build:doc:mermaid": "mmdc --width 1600 --height 1200 -t dark -b transparent -i paths/default.md -o configs/Default/PathToTarkov.png",
"build:doc:all-exfils": "node scripts/generate-all-exfils > ALL_EXFILS.md",
"build:doc": "npm run build:doc:all-exfils && npm run build:doc:mermaid",
"zip:files": "cd dist && bestzip ../mod.zip user BepInEx && cd .. && node scripts/rename-zip.js",
"prepare:files": "node scripts/prepare-files.js",
"build:release": "npm run rebuild:all && npm run prepare:files && npm run zip:files && npm run git:check:status",
"clean": "rimraf -g dist tmp src/**/*.js src/**/*.js.map Trap-PathToTarkov*",
"clean:all": "npm run clean:client && npm run clean",
"prettier": "prettier --write .",
"prettier:check": "prettier --check .",
"lint": "eslint --ignore-pattern '*.js' .",
"lint:all": "npm run prettier:check && npm run lint",
"rebuild:all": "npm run clean:all && npm run build:all",
"rebuild": "npm run clean && npm run build",
"build": "tsc",
"build:all": "npm run build:doc && npm run build && npm run build:client",
"build:client": "cd PTT-Extracts && dotnet.exe build",
"clean:client": "cd PTT-Extracts && dotnet.exe clean && rimraf bin obj",
"test:all": "npm run lint:all && npm run test && npm run build:release",
"test": "npx jest",
"test:watch": "npx jest --watch",
"test:ci": "npm run build && npm run test && npm run lint:all && npm run build:doc:all-exfils"
},
"devDependencies": {
"@mermaid-js/mermaid-cli": "^9.1.7",
"@types/i18n": "^0.13.5",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.11",
"@types/winston": "^2.4.4",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"bestzip": "2.2.1",
"cpr": "^3.0.1",
"eslint": "8.56.0",
"jest": "^29.7.0",
"jsonc": "^2.0.0",
"mkdirp": "^3.0.1",
"prettier": "^3.3.3",
"rimraf": "^3.0.2",
"ts-jest": "^29.2.4",
"tsyringe": "4.6.0",
"typescript": "5.5.3",
"winston": "^3.7.2"
}
}