-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 1.23 KB
/
package.json
File metadata and controls
31 lines (31 loc) · 1.23 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
{
"name": "redirection",
"version": "1.0.0",
"private": true,
"description": "Delpa redirection server",
"license": "AGPL-3.0-or-later",
"author": "Hong Xu <hong@topbug.net>",
"type": "module",
"scripts": {
"lint": "npm run compile && eslint *.ts *.mjs && prettier . --check",
"build": "${DOCKER_CMD:-podman} build --build-arg snapshot_versions_type=test . -t delpa-redirection-test-server",
"build_prod": "${DOCKER_CMD:-podman} build . -t delpa-redirection-server",
"start": "${DOCKER_CMD:-podman} run -it --rm -p 3000:80 -p 3001:443 --env HOST_ADDRESS delpa-redirection-test-server",
"start_prod": "${DOCKER_CMD:-podman} run -it --rm -p 3000:80 -p 3001:443 --env HOST_ADDRESS delpa-redirection-server",
"test": "NODE_TLS_REJECT_UNAUTHORIZED=0 vitest --run index.test.ts",
"test_prod": "NODE_TLS_REJECT_UNAUTHORIZED=0 vitest --run prod.test.ts",
"format": "eslint --fix *.ts *.mjs && prettier . --write",
"compile": "tsc -p tsconfig.json"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@types/node": "24.12.2",
"eslint": "10.2.0",
"globals": "17.4.0",
"prettier": "3.8.2",
"tsx": "4.21.0",
"typescript": "6.0.2",
"typescript-eslint": "8.58.1",
"vitest": "4.1.4"
}
}