-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.14 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.14 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
{
"name": "@pilaf/root",
"version": "1.0.0",
"private": true,
"description": "Pure JS testing framework for Minecraft PaperMC plugins",
"keywords": [
"minecraft",
"testing",
"papermc",
"mineflayer",
"rcon",
"integration-testing",
"game-testing",
"jest"
],
"author": "Pilaf Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cavarest/pilaf.git"
},
"scripts": {
"postinstall": "node scripts/fix-prismarine-physics.js",
"test": "jest --testMatch='**/*.pilaf.test.js' --verbose --runInBand",
"test:ci": "jest --testMatch='**/*.pilaf.test.js' --ci --testResultsProcessor='jest-junit' --runInBand --forceExit",
"test:unit": "jest --config=jest.config.unit.json",
"test:report": "jest --config=jest.config.report.json --forceExit",
"test:examples": "jest --testMatch='<rootDir>/examples/*.example.pilaf.test.js' --runInBand --forceExit",
"build": "pnpm -r --filter './packages/**' build",
"lint": "eslint packages/**/*.js",
"pilaf": "node packages/cli/bin/pilaf.js"
},
"devDependencies": {
"@babel/preset-env": "^7.28.6",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"jest-junit": "^16.0.0"
},
"jest": {
"testEnvironment": "node",
"testTimeout": 60000,
"maxWorkers": 1,
"maxConcurrency": 1,
"testMatch": [
"**/*.pilaf.test.js"
],
"moduleNameMapper": {
"^@pilaf/backends$": "<rootDir>/packages/backends/lib/index.js",
"^@pilaf/framework$": "<rootDir>/packages/framework/lib/index.js",
"^@pilaf/reporting$": "<rootDir>/packages/reporting/lib/index.js"
},
"reporters": [
"default",
[
"jest-junit",
{
"outputDirectory": "test-results",
"outputName": "junit.xml"
}
],
[
"<rootDir>/packages/framework/lib/reporters/pilaf-reporter.js",
{
"outputPath": "target/pilaf-reports/index.html",
"suiteName": "Pilaf Integration Tests"
}
]
]
},
"engines": {
"node": ">=22.0.0",
"pnpm": ">=10.0.0"
},
"pnpm": {
"overrides": {
"axios": ">=1.8.2"
}
}
}