2013-06-01 18:34:38 +00:00
{
2022-08-24 21:33:20 +00:00
"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." ,
2024-05-24 13:45:26 +00:00
"version" : "16.3.7" ,
2022-08-24 21:33:20 +00:00
"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" ,
2024-02-29 22:00:39 +00:00
"lint" : "balena-lint -e ts -e js src/ test/ typings/ build-utils/" ,
2022-08-24 21:33:20 +00:00
"test:build" : "tsc --noEmit && tsc --noEmit --project tsconfig.js.json" ,
"test:unit" : "mocha --config test/unit/.mocharc.js" ,
2022-09-09 17:20:41 +00:00
"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" ,
2022-08-24 21:33:20 +00:00
"test:legacy" : "mocha --config test/legacy/.mocharc.js" ,
"test:node" : "npm run test:unit && npm run test:integration && npm run test:legacy" ,
2024-01-25 13:52:51 +00:00
"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" ,
2022-11-11 16:28:45 +00:00
"test" : "npm run lint && npm run test:build && npm run test:unit" ,
2023-04-27 14:08:40 +00:00
"compose:down" : "docker compose -f docker-compose.yml -f docker-compose.test.yml down --volumes" ,
2024-02-29 22:00:39 +00:00
"prettify" : "balena-lint -e ts -e js --fix src/ test/ typings/ build-utils/" ,
2022-08-24 21:33:20 +00:00
"release" : "tsc --project tsconfig.release.json && mv build/src/* build" ,
"sync" : "ts-node --files sync/sync.ts" ,
2022-09-12 20:33:45 +00:00
"clean" : "rimraf build" ,
2022-09-16 15:59:38 +00:00
"install-native-deps" : "./build-utils/install-dbus.sh" ,
2022-09-20 11:52:26 +00:00
"flowzone-preinstall" : "npm run install-native-deps" ,
2024-04-29 13:06:54 +00:00
"prepare" : "node -e \"try { (await import('husky')).default() } catch (e) { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e }\" --input-type module"
2022-08-24 21:33:20 +00:00
} ,
"private" : true ,
"dependencies" : {
2023-11-20 20:02:36 +00:00
"@balena/systemd" : "^0.5.0" ,
2023-08-03 21:11:37 +00:00
"sqlite3" : "^5.1.6"
2022-08-24 21:33:20 +00:00
} ,
"engines" : {
2024-03-06 15:03:08 +00:00
"node" : ">=20 <21" ,
"npm" : ">=10"
2022-08-24 21:33:20 +00:00
} ,
"devDependencies" : {
2024-04-03 20:56:12 +00:00
"@balena/compose" : "^3.2.1" ,
2024-04-30 23:39:21 +00:00
"@balena/contrato" : "^0.9.4" ,
2024-03-25 16:56:27 +00:00
"@balena/es-version" : "^1.0.3" ,
2024-04-23 01:05:24 +00:00
"@balena/lint" : "^8.0.2" ,
2024-04-29 15:28:12 +00:00
"@types/bluebird" : "^3.5.42" ,
"@types/chai" : "^4.3.14" ,
"@types/chai-as-promised" : "^7.1.8" ,
"@types/chai-like" : "^1.1.3" ,
2024-04-15 16:09:35 +00:00
"@types/chai-things" : "0.0.38" ,
2024-04-29 15:28:12 +00:00
"@types/common-tags" : "^1.8.4" ,
2024-04-03 20:56:12 +00:00
"@types/dockerode" : "^3.3.28" ,
2024-04-29 15:28:12 +00:00
"@types/express" : "^4.17.21" ,
2024-04-23 03:15:54 +00:00
"@types/json-mask" : "^2.0.3" ,
2024-03-05 18:15:30 +00:00
"@types/JSONStream" : "npm:@types/jsonstream@^0.8.33" ,
2024-04-29 15:28:12 +00:00
"@types/lodash" : "^4.17.0" ,
"@types/memoizee" : "^0.4.11" ,
2024-04-23 02:04:45 +00:00
"@types/mocha" : "^10.0.6" ,
2024-04-29 15:28:12 +00:00
"@types/morgan" : "^1.9.9" ,
"@types/node" : "^20.12.7" ,
"@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" ,
2024-04-22 22:08:23 +00:00
"@types/sinon" : "^17.0.3" ,
"@types/sinon-chai" : "^3.2.12" ,
2024-04-24 16:42:42 +00:00
"@types/supertest" : "^6.0.2" ,
2024-04-03 20:56:12 +00:00
"@types/tar-stream" : "^3.1.3" ,
2024-04-29 15:28:12 +00:00
"@types/webpack" : "^5.28.5" ,
2024-04-23 22:54:37 +00:00
"@types/yargs" : "^17.0.32" ,
2024-03-07 17:15:38 +00:00
"balena-auth" : "^6.0.1" ,
"balena-register-device" : "^9.0.2" ,
"balena-request" : "^13.3.1" ,
2024-04-29 15:28:12 +00:00
"blinking" : "^0.0.8" ,
2022-08-24 21:33:20 +00:00
"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" ,
2024-04-19 15:09:43 +00:00
"copy-webpack-plugin" : "^12.0.0" ,
2022-08-24 21:33:20 +00:00
"deep-object-diff" : "^1.1.0" ,
2024-04-03 20:56:12 +00:00
"docker-delta" : "^4.0.1" ,
"docker-progress" : "^5.2.3" ,
"dockerode" : "^4.0.2" ,
2022-08-24 21:33:20 +00:00
"duration-js" : "^4.0.0" ,
"express" : "^4.17.1" ,
2024-04-23 23:18:30 +00:00
"fork-ts-checker-webpack-plugin" : "^9.0.2" ,
2024-04-26 06:56:48 +00:00
"fp-ts" : "^2.16.5" ,
2024-04-19 13:09:47 +00:00
"got" : "14.2.1" ,
2024-04-29 13:06:54 +00:00
"husky" : "^9.0.11" ,
2024-04-26 06:56:48 +00:00
"io-ts" : "^2.2.20" ,
"io-ts-reporters" : "^2.0.1" ,
2024-04-23 03:15:54 +00:00
"json-mask" : "^2.0.0" ,
2024-03-05 18:15:30 +00:00
"JSONStream" : "^1.3.5" ,
2024-04-23 03:27:15 +00:00
"knex" : "^3.1.0" ,
2024-04-23 02:56:24 +00:00
"lint-staged" : "^15.2.2" ,
2022-08-24 21:33:20 +00:00
"livepush" : "^3.5.1" ,
"lodash" : "^4.17.21" ,
2023-08-03 22:09:25 +00:00
"mdns-resolver" : "1.1.0" ,
2022-08-24 21:33:20 +00:00
"memoizee" : "^0.4.14" ,
2024-04-23 02:04:45 +00:00
"mocha" : "^10.4.0" ,
2024-04-23 02:15:18 +00:00
"mocha-pod" : "^2.0.5" ,
2022-08-24 21:33:20 +00:00
"morgan" : "^1.10.0" ,
"network-checker" : "^0.1.1" ,
"nock" : "^13.1.2" ,
2024-04-03 20:56:12 +00:00
"node-loader" : "^2.0.0" ,
2024-04-23 00:08:24 +00:00
"nodemon" : "^3.1.0" ,
2022-09-07 14:09:19 +00:00
"pinejs-client-request" : "^7.3.5" ,
2022-08-24 21:33:20 +00:00
"pretty-ms" : "^7.0.1" ,
"request" : "^2.88.2" ,
"resumable-request" : "^2.0.1" ,
2024-04-23 01:05:24 +00:00
"rewire" : "^7.0.0" ,
2024-04-17 15:10:01 +00:00
"rimraf" : "^5.0.0" ,
2022-08-24 21:33:20 +00:00
"rwlock" : "^5.0.0" ,
2024-05-12 16:09:16 +00:00
"semver" : "7.6.2" ,
2022-08-24 21:33:20 +00:00
"shell-quote" : "^1.7.2" ,
2024-05-20 02:21:03 +00:00
"sinon" : "^18.0.0" ,
2022-09-26 18:26:48 +00:00
"sinon-chai" : "^3.7.0" ,
2022-08-24 21:33:20 +00:00
"strict-event-emitter-types" : "^2.0.0" ,
2024-04-24 16:42:42 +00:00
"supertest" : "^7.0.0" ,
2024-04-22 19:03:05 +00:00
"systeminformation" : "^5.22.7" ,
2024-04-23 22:54:37 +00:00
"tar-stream" : "^3.1.7" ,
2022-09-20 13:32:37 +00:00
"terser-webpack-plugin" : "^5.3.6" ,
"ts-loader" : "^9.4.0" ,
2024-04-23 19:08:59 +00:00
"ts-node" : "^10.0.0" ,
2022-08-24 21:33:20 +00:00
"tsconfig-paths" : "^4.1.0" ,
"typed-error" : "^3.2.1" ,
2024-03-05 18:15:30 +00:00
"typescript" : "^5.3.3" ,
2022-09-20 13:32:37 +00:00
"webpack" : "^5.74.0" ,
2024-04-19 14:11:21 +00:00
"webpack-cli" : "^5.0.0" ,
2022-08-24 21:33:20 +00:00
"winston" : "^3.3.3" ,
2024-04-23 22:54:37 +00:00
"yargs" : "^17.7.2"
2022-08-24 21:33:20 +00:00
} ,
"versionist" : {
2024-05-24 13:45:26 +00:00
"publishedAt" : "2024-05-24T13:45:21.412Z"
2022-08-24 21:33:20 +00:00
}
2018-02-20 02:20:57 +00:00
}