-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathpackage.json
140 lines (140 loc) · 5.17 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "balena-supervisor",
"description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.",
"version": "16.12.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/balena-os/balena-supervisor.git"
},
"scripts": {
"start": "./entry.sh",
"build": "npm run clean && npm run release && webpack",
"lint": "balena-lint -e ts -e js src/ test/ typings/ build-utils/",
"test:build": "tsc --noEmit && tsc --noEmit --project tsconfig.js.json",
"test:unit": "mocha --config test/unit/.mocharc.js",
"test:integration": "find test/integration -name *.spec.ts | xargs -n 1 -I {} sh -c 'mocha --config test/integration/.mocharc.js {} || exit 255'",
"test:integration:single": "find test/integration -name *.spec.ts | xargs mocha --config test/integration/.mocharc.js",
"test:legacy": "mocha --config test/legacy/.mocharc.js",
"test:node": "npm run test:unit && npm run test:integration && npm run test:legacy",
"test:env": "ARCH=$(./build-utils/detect-arch.sh) docker compose -f docker-compose.test.yml -f docker-compose.dev.yml run --build --rm sut sh; npm run compose:down",
"test:compose": "(ARCH=$(./build-utils/detect-arch.sh) docker compose -f docker-compose.yml -f docker-compose.test.yml run --build --rm sut || docker compose logs); npm run compose:down",
"test": "npm run lint && npm run test:build && npm run test:unit",
"compose:down": "docker compose -f docker-compose.yml -f docker-compose.test.yml down --volumes",
"prettify": "balena-lint -e ts -e js --fix src/ test/ typings/ build-utils/",
"release": "tsc --project tsconfig.release.json && mv build/src/* build",
"sync": "ts-node --files sync/sync.ts",
"clean": "rimraf build",
"install-native-deps": "./build-utils/install-dbus.sh",
"flowzone-preinstall": "npm run install-native-deps",
"prepare": "node -e \"try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }\" --input-type module"
},
"private": true,
"dependencies": {
"@balena/systemd": "^0.5.0",
"sqlite3": "^5.1.6"
},
"engines": {
"node": ">=20 <23",
"npm": ">=10"
},
"devDependencies": {
"@balena/compose": "^3.2.1",
"@balena/contrato": "^0.12.0",
"@balena/es-version": "^1.0.3",
"@balena/lint": "^8.0.2",
"@types/bluebird": "^3.5.42",
"@types/chai": "^4.3.14",
"@types/chai-as-promised": "^7.1.8",
"@types/chai-like": "^1.1.3",
"@types/chai-things": "0.0.38",
"@types/common-tags": "^1.8.4",
"@types/dockerode": "^3.3.28",
"@types/express": "^4.17.21",
"@types/json-mask": "^2.0.3",
"@types/JSONStream": "npm:@types/jsonstream@^0.8.33",
"@types/lodash": "^4.17.0",
"@types/memoizee": "^0.4.11",
"@types/mocha": "^10.0.6",
"@types/morgan": "^1.9.9",
"@types/node": "^22.10.6",
"@types/request": "^2.48.12",
"@types/rewire": "^2.5.30",
"@types/rwlock": "^5.0.6",
"@types/semver": "^7.5.8",
"@types/shell-quote": "^1.7.5",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@types/supertest": "^6.0.2",
"@types/tar-stream": "^3.1.3",
"@types/webpack": "^5.28.5",
"@types/yargs": "^17.0.32",
"balena-auth": "^6.0.1",
"balena-register-device": "^9.0.2",
"balena-request": "^13.3.1",
"blinking": "^1.0.1",
"bluebird": "^3.7.2",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-like": "^1.1.1",
"chai-things": "^0.2.0",
"chokidar": "^3.5.1",
"common-tags": "^1.8.0",
"copy-webpack-plugin": "^12.0.0",
"deep-object-diff": "^1.1.0",
"docker-delta": "^4.1.0",
"docker-progress": "^5.2.3",
"dockerode": "^4.0.2",
"duration-js": "^4.0.0",
"express": "^4.17.1",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"fp-ts": "^2.16.5",
"got": "14.4.1",
"husky": "^9.0.11",
"io-ts": "^2.2.20",
"io-ts-reporters": "^2.0.1",
"json-mask": "^2.0.0",
"JSONStream": "^1.3.5",
"knex": "^3.1.0",
"lint-staged": "^15.2.2",
"livepush": "^3.5.1",
"lodash": "^4.17.21",
"mdns-resolver": "1.1.0",
"memoizee": "^0.4.14",
"mocha": "^10.4.0",
"mocha-pod": "^2.0.5",
"morgan": "^1.10.0",
"network-checker": "^0.1.1",
"nock": "^13.1.2",
"node-loader": "^2.0.0",
"nodemon": "^3.1.0",
"pinejs-client-request": "^7.3.5",
"pretty-ms": "^7.0.1",
"request": "^2.88.2",
"resumable-request": "^2.0.1",
"rewire": "^7.0.0",
"rimraf": "^5.0.0",
"rwlock": "^5.0.0",
"semver": "7.6.3",
"shell-quote": "^1.7.2",
"sinon": "^18.0.0",
"sinon-chai": "^3.7.0",
"strict-event-emitter-types": "^2.0.0",
"supertest": "^7.0.0",
"systeminformation": "^5.22.7",
"tar-stream": "^3.1.7",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.0",
"ts-node": "^10.0.0",
"tsconfig-paths": "^4.1.0",
"typed-error": "^3.2.1",
"typescript": "^5.5.4",
"webpack": "^5.74.0",
"webpack-cli": "^5.0.0",
"winston": "^3.3.3",
"yargs": "^17.7.2"
},
"versionist": {
"publishedAt": "2025-01-20T22:14:36.208Z"
}
}