-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.15 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 3.15 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "patch-validator",
"description": "Checks Daedalus script symbols and resource file names in a Gothic VDF patch for validity",
"version": "1.1.0",
"author": "Sören Zapp",
"homepage": "https://github.com/szapp/patch-validator#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/szapp/patch-validator.git"
},
"bugs": {
"url": "https://github.com/szapp/patch-validator/issues"
},
"keywords": [
"ci",
"gothic",
"gothic1",
"gothic2",
"checks",
"daedalus",
"ninja",
"github-actions"
],
"type": "module",
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"scripts": {
"antlr4ng": "antlr4ng -Dlanguage=TypeScript -o ./src/generated/ -visitor -no-listener -Xexact-output-dir ./g4/Daedalus.g4 && crlf --set=LF ./src/generated/*",
"bundle": "npm run antlr4ng && npm run format:write && npm run package",
"coverage": "make-coverage-badge --output-path ./badges/coverage.svg",
"format:check": "prettier --check src/*.ts",
"format:write": "prettier --write src/*.ts",
"lint": "eslint src/*.ts",
"package": "ncc build src/index.ts -o dist --source-map --license licenses.txt",
"test": "jest",
"all": "npm run antlr4ng && npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
},
"license": "MIT",
"jest": {
"preset": "ts-jest/presets/default-esm",
"verbose": true,
"clearMocks": true,
"resetMocks": true,
"restoreMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/",
"/g4/",
"/src/generated/"
],
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true,
"tsconfig": "./__tests__/tsconfig.json"
}
]
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/*.ts"
]
},
"volta": {
"node": "24.12.0"
},
"dependencies": {
"@actions/core": "^2.0.1",
"@actions/github": "^6.0.1",
"@actions/io": "^2.0.0",
"@actions/tool-cache": "^2.0.2",
"antlr4ng": "^3.0.16",
"glob": "^13.0.0",
"humanize-duration": "^3.33.2",
"true-case-path": "^2.2.1",
"yaml": "^2.8.2"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.2",
"@types/humanize-duration": "^3.27.4",
"@types/jest": "^30.0.0",
"@types/node": "^25.0.3",
"@typescript-eslint/eslint-plugin": "^8.50.1",
"@typescript-eslint/parser": "^8.50.1",
"@vercel/ncc": "^0.38.4",
"antlr4ng-cli": "^2.0.0",
"crlf": "^1.1.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^29.11.0",
"globals": "^16.5.0",
"jest": "^30.2.0",
"make-coverage-badge": "^1.2.0",
"prettier": "^3.7.4",
"prettier-eslint": "^16.4.2",
"ts-jest": "^29.4.6",
"typescript": "^5.9.3"
}
}