-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
executable file
·57 lines (57 loc) · 1.51 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
{
"name": "cprox",
"description": "A easy to configure redirect, static serve, proxy and load balancer web server.",
"version": "1.9.18",
"main": "dist/index.js",
"author": "NobleMajo",
"license": "MIT",
"private": false,
"keywords": [
"typescript",
"node",
"server",
"api",
"proxy",
"static",
"redirect"
],
"bin": {
"cprox": "./bin/prod.js",
"cproxdev": "./bin/dev.ts"
},
"repository": {
"url": "[email protected]:noblemajo/cprox.git",
"type": "git"
},
"scripts": {
"tsc": "tsc -p tsconfig.json",
"start": "ts-node src/index.ts *=STATIC:/var/www/html --dry-run",
"exec": "node dist/index.js",
"test": "mocha --exit --require ts-node/register 'src/test/**/*.test.ts'",
"test-parallel": "mocha --parallel --exit --require ts-node/register 'src/test/**/*.test.ts'",
"build": "npm run tsc",
"dev": "nodemon -w ./src -x \"npm run build; npm run test; npm run start\" --ext *.ts"
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/http-proxy": "^1.17.11",
"@types/mocha": "^8.2.3",
"@types/node": "^20.4.1",
"@types/node-fetch": "^2.6.4",
"@types/serve-static": "^1.15.2",
"chai": "^4.3.7",
"mocha": "^10.4.0",
"nodemon": "^3.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"dependencies": {
"cmdy": "^1.4.5",
"http-proxy": "^1.18.1",
"majotools": "^1.4.4",
"node-fetch": "^2.6.12",
"selfsigned": "^2.1.1",
"serve-static": "^1.15.0",
"typenvy": "^1.5.15"
}
}