-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
126 lines (126 loc) · 4.05 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
116
117
118
119
120
121
122
123
124
125
126
{
"name": "rebenchdb",
"version": "0.5.1",
"description": "A Web-Based Database for ReBench Results",
"main": "index.js",
"author": {
"name": "Stefan Marr",
"email": "[email protected]"
},
"license": "MIT",
"type": "module",
"dependencies": {
"@octokit/auth-app": "4.0.13",
"@octokit/rest": "19.0.13",
"@sgratzl/chartjs-chart-boxplot": "4.4.2",
"canvas": "3.0.0-rc2",
"chart.js": "4.4.4",
"chartjs-plugin-annotation": "3.0.1",
"decimal.js": "10.4.3",
"ejs": "3.1.10",
"join-images": "1.1.5",
"koa": "2.15.3",
"koa-body": "6.0.1",
"koa-router": "13.0.1",
"pg": "8.13.0",
"promisify-child-process": "4.1.2",
"sharp": "0.33.5",
"tslog": "4.9.3",
"uplot": "1.6.31"
},
"overrides": {
"join-images": {
"sharp": "$sharp"
}
},
"engines": {
"node": ">=21.0.0"
},
"devDependencies": {
"@octokit/types": "9.2.3",
"@types/ejs": "3.1.5",
"@types/jquery": "3.5.31",
"@types/koa": "2.15.0",
"@types/koa-router": "7.4.8",
"@types/pg": "8.11.10",
"@types/pixelmatch": "5.2.6",
"eslint": "8.57.0",
"@types/pngjs": "6.0.5",
"@typescript-eslint/eslint-plugin": "7.13.1",
"@typescript-eslint/parser": "7.13.1",
"ajv": "8.17.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-prettier": "5.2.1",
"jest": "29.7.0",
"nodemon": "3.1.7",
"patch-package": "8.0.0",
"pixelmatch": "6.0.0",
"prettier": "3.3.3",
"source-map-support": "0.5.21",
"terser": "5.34.1",
"ts-jest": "29.2.5",
"typescript": "5.6.2",
"typescript-json-schema": "0.65.1"
},
"jest": {
"collectCoverage": true,
"coverageReporters": [
"json",
"text",
[
"text-summary",
{
"file": "coverage-summary.txt"
}
]
],
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "node",
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true
}
]
},
"testPathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/node_modules/"
],
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
],
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1",
"/static/uPlot.esm.min.js": "<rootDir>/resources/uPlot.esm.min.js"
},
"roots": [
"tests/"
]
},
"scripts": {
"postinstall": "if [ -z \"${SKIP_COMPILE}\" ]; then npm run compile; fi; patch-package",
"precompile": "npm run prep-folders && npm run compile-uplot",
"prep-folders": "mkdir -p tmp/interm tmp/knit resources/reports resources/exp-data",
"compile-uplot": "terser --module --ecma 2018 --compress --mangle -o ./resources/uPlot.esm.min.js -- node_modules/uplot/dist/uPlot.esm.js",
"compile": "tsc",
"postcompile": "npm run prep-static && npm run download-font",
"prep-static": "cp dist/src/frontend/*.js dist/src/shared/*.js ./resources/",
"download-font": "if ! [ -f dist/roboto-hinted/Roboto-Black.ttf ]; then node dist/src/download.js https://github.com/googlefonts/roboto/releases/download/v2.136/roboto-hinted.zip tmp/roboto-hinted.zip && unzip -o -d dist tmp/roboto-hinted.zip; fi",
"start": "node --enable-source-maps --experimental-json-modules ./dist/src/index.js",
"nodemon": "DEV=true nodemon --enable-source-maps --experimental-json-modules ./dist/src/index.js --watch ./dist/src --watch ./package.json --watch ./src --ext js,json,html",
"format": "prettier --config .prettierrc '{src,tests}/**/*.ts' --write",
"verify": "npm run lint",
"lint": "eslint . --ext .ts,.tsx",
"update": "git pull && npm install . && pm2 restart 0",
"watch": "tsc -w",
"pretest": "(cd tests/data; bzip2 -d -f -k large-payload.json.bz2; mkdir -p actual-results/charts; mkdir -p actual-results/stats-data-prep; mkdir -p actual-results/compare-view)",
"test": "node --no-warnings --experimental-vm-modules ./node_modules/jest/bin/jest.js",
"update-expected-results": "UPDATE_EXPECTED_DATA=true npm test"
}
}