-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 3.02 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
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
{
"name": "patch-validator",
"description": "Checks Daedalus script symbols and resource file names in a Gothic VDF patch for validity",
"version": "1.0.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"
]
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1",
"antlr4ng": "^3.0.4",
"glob": "^10.3.12",
"humanize-duration": "^3.31.0",
"true-case-path": "^2.2.1",
"yaml": "^2.4.1"
},
"devDependencies": {
"@types/humanize-duration": "^3.27.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@vercel/ncc": "^0.38.1",
"antlr4ng-cli": "^2.0.0",
"crlf": "^1.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.9.0",
"jest": "^29.7.0",
"make-coverage-badge": "^1.2.0",
"prettier": "^3.2.5",
"prettier-eslint": "^16.3.0",
"ts-jest": "^29.1.2",
"typescript": "^5.4.2"
}
}