-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
86 lines (86 loc) · 2.58 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
{
"name": "open-balena-vpn",
"private": true,
"version": "11.30.72",
"description": "RESTful VPN api",
"type": "module",
"license": "AGPL-3.0",
"scripts": {
"build": "tsc --project .",
"check": "tsc --pretty --noEmit --diagnostics --project ./tsconfig.json",
"check:dev": "tsc --pretty --noEmit --diagnostics --project ./tsconfig.dev.json",
"lint": "balena-lint -t ./tsconfig.dev.json src/ test/ typings/",
"lint-fix": "balena-lint -t ./tsconfig.dev.json --fix src/ test/ typings/",
"pretest": "npm run lint",
"test-unit": "mocha test/index.ts",
"test": "docker build -t test-balena-vpn . && IMAGE_NAME=test-balena-vpn ./automation/test.sh",
"prepare": "node -e \"try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }\" --input-type module"
},
"dependencies": {
"@balena/env-parsing": "^1.2.0",
"@balena/es-version": "^1.0.3",
"@balena/node-metrics-gatherer": "^6.0.3",
"@sentry/node": "^8.30.0",
"bluebird": "^3.7.2",
"compression": "^1.7.4",
"event-stream": "^4.0.1",
"eventemitter3": "^5.0.1",
"express": "^4.21.0",
"lodash": "^4.17.21",
"memoizee": "^0.4.17",
"morgan": "^1.10.0",
"netmask": "^2.0.2",
"node-tunnel": "^4.0.1",
"p-timeout": "^6.1.2",
"pinejs-client-request": "^8.0.1",
"request": "^2.88.2",
"request-promise": "^4.2.6",
"telnet-client": "^1.4.11",
"typed-error": "^3.2.2",
"winston": "^3.14.2"
},
"devDependencies": {
"@balena/lint": "^9.0.1",
"@types/bluebird": "^3.5.42",
"@types/chai": "^5.0.0",
"@types/chai-as-promised": "^8.0.0",
"@types/compression": "^1.7.5",
"@types/event-stream": "^4.0.5",
"@types/express": "^4.17.21",
"@types/lodash": "^4.17.7",
"@types/memoizee": "^0.4.11",
"@types/mocha": "^10.0.8",
"@types/morgan": "^1.9.9",
"@types/netmask": "^2.0.5",
"@types/node": "^22.5.5",
"@types/request-promise": "^4.1.51",
"chai": "^5.1.1",
"chai-as-promised": "^8.0.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"mocha": "^11.0.0",
"nock": "^13.5.5",
"openvpn-client": "0.0.2",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
},
"engines": {
"node": "^22.2.0",
"npm": "^10.7.0"
},
"lint-staged": {
"*.ts": [
"balena-lint -t ./tsconfig.dev.json --fix"
]
},
"mocha": {
"bail": true,
"reporter": "spec",
"loader": "ts-node/esm/transpile-only",
"require": "ts-node/register/transpile-only",
"exit": true
},
"versionist": {
"publishedAt": "2024-12-16T03:32:16.312Z"
}
}