2013-06-01 18:34:38 +00:00
{
2018-10-18 18:52:35 +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." ,
2022-03-18 22:35:28 +00:00
"version" : "12.11.42" ,
2016-10-24 00:04:40 +00:00
"license" : "Apache-2.0" ,
"repository" : {
"type" : "git" ,
2021-04-29 16:02:52 +00:00
"url" : "https://github.com/balena-os/balena-supervisor.git"
2016-10-24 00:04:40 +00:00
} ,
2013-12-14 05:18:20 +00:00
"scripts" : {
2016-06-16 15:10:20 +00:00
"start" : "./entry.sh" ,
2020-05-13 19:30:30 +00:00
"build" : "npm run release && webpack" ,
"build:debug" : "npm run release && npm run packagejson:copy" ,
2020-06-16 12:04:12 +00:00
"lint" : "balena-lint -e ts -e js --typescript src/ test/ typings/ build-utils/ webpack.config.js && tsc --noEmit && tsc --noEmit --project tsconfig.js.json" ,
2021-04-26 19:39:20 +00:00
"test" : "npm run clean && npm run test-nolint" ,
2020-05-28 17:15:33 +00:00
"posttest" : "npm run lint" ,
2021-05-07 01:47:10 +00:00
"test-nolint" : "npm run test:build && TEST=1 mocha --config test/.mocharc.js" ,
2020-05-13 19:30:30 +00:00
"test:build" : "npm run test-build && npm run testitems:copy && npm run packagejson:copy" ,
2021-05-07 01:47:10 +00:00
"test:fast" : "TEST=1 mocha --config test/.mocharc.fast.js" ,
"test:debug" : "npm run test:build && TEST=1 mocha --inspect-brk --config test/.mocharc.js" ,
2020-06-16 12:04:12 +00:00
"prettify" : "balena-lint -e ts -e js --typescript --fix src/ test/ typings/ build-utils/ webpack.config.js" ,
2020-05-13 19:30:30 +00:00
"test-build" : "tsc --project tsconfig.json" ,
2020-06-16 11:16:48 +00:00
"release" : "tsc --project tsconfig.release.json && mv build/src/* build" ,
2019-06-13 09:54:39 +00:00
"packagejson:copy" : "cp package.json build/" ,
"testitems:copy" : "cp -r test/data build/test/" ,
2021-07-30 21:54:30 +00:00
"sync" : "ts-node --files sync/sync.ts" ,
2021-04-26 19:39:20 +00:00
"clean" : "rimraf build"
2013-12-14 05:18:20 +00:00
} ,
2019-05-26 17:51:58 +00:00
"private" : true ,
2013-12-14 05:18:20 +00:00
"dependencies" : {
2021-11-25 20:03:36 +00:00
"@balena/happy-eyeballs" : "0.0.6" ,
2020-04-09 10:41:48 +00:00
"dbus" : "^1.0.7" ,
2020-08-26 15:46:49 +00:00
"mdns-resolver" : "^1.0.0" ,
2020-07-17 02:16:41 +00:00
"semver" : "^7.3.2" ,
2022-03-09 02:07:50 +00:00
"sinon" : "^11.1.2" ,
2020-09-03 13:25:33 +00:00
"sqlite3" : "^4.1.1" ,
2021-04-06 03:32:44 +00:00
"systeminformation" : "^5.6.10"
2017-07-01 04:07:02 +00:00
} ,
"engines" : {
2020-05-12 15:49:20 +00:00
"node" : "^12.16.2" ,
2020-11-30 17:22:44 +00:00
"npm" : "^6.14.4"
2017-07-01 04:07:02 +00:00
} ,
"devDependencies" : {
2021-05-06 12:46:17 +00:00
"@balena/contrato" : "^0.6.0" ,
2020-05-15 11:01:51 +00:00
"@balena/lint" : "^5.1.0" ,
2020-08-05 11:26:22 +00:00
"@types/bluebird" : "^3.5.32" ,
2021-05-07 01:47:10 +00:00
"@types/chai" : "^4.2.16" ,
2020-08-05 11:26:22 +00:00
"@types/chai-as-promised" : "^7.1.3" ,
2020-08-13 12:25:39 +00:00
"@types/chai-like" : "^1.1.0" ,
"@types/chai-things" : "0.0.34" ,
2018-12-19 15:52:52 +00:00
"@types/common-tags" : "^1.8.0" ,
2020-06-16 12:04:12 +00:00
"@types/copy-webpack-plugin" : "^6.0.0" ,
2020-04-09 10:41:48 +00:00
"@types/dbus" : "^1.0.0" ,
2021-04-26 16:06:04 +00:00
"@types/dockerode" : "^2.5.34" ,
2018-08-27 00:17:11 +00:00
"@types/event-stream" : "^3.3.34" ,
2020-03-13 13:23:30 +00:00
"@types/express" : "^4.17.3" ,
2020-01-16 19:23:54 +00:00
"@types/lockfile" : "^1.0.1" ,
2020-08-18 17:25:06 +00:00
"@types/lodash" : "^4.14.159" ,
2020-05-15 10:49:28 +00:00
"@types/memoizee" : "^0.4.4" ,
2021-05-07 01:47:10 +00:00
"@types/mocha" : "^8.2.2" ,
2021-04-26 19:54:04 +00:00
"@types/mock-fs" : "^4.13.0" ,
2020-03-13 13:23:30 +00:00
"@types/morgan" : "^1.9.0" ,
2020-08-19 11:11:52 +00:00
"@types/node" : "^12.12.54" ,
2020-08-05 11:26:22 +00:00
"@types/request" : "^2.48.5" ,
2020-12-18 20:10:04 +00:00
"@types/rewire" : "^2.5.28" ,
2020-03-23 13:06:57 +00:00
"@types/rimraf" : "^2.0.4" ,
2018-06-18 10:18:42 +00:00
"@types/rwlock" : "^5.0.2" ,
2020-08-19 11:11:52 +00:00
"@types/semver" : "^7.3.3" ,
"@types/shell-quote" : "^1.7.0" ,
2022-02-17 03:12:58 +00:00
"@types/sinon" : "^10.0.11" ,
2021-05-07 01:47:10 +00:00
"@types/sinon-chai" : "^3.2.5" ,
"@types/supertest" : "^2.0.11" ,
2020-06-16 12:04:12 +00:00
"@types/terser-webpack-plugin" : "^3.0.0" ,
2019-06-19 12:56:56 +00:00
"@types/tmp" : "^0.1.0" ,
2020-08-05 11:26:22 +00:00
"@types/webpack" : "^4.41.21" ,
2020-12-16 12:01:14 +00:00
"@types/yargs" : "^15.0.12" ,
2021-04-29 13:14:18 +00:00
"balena-register-device" : "^7.2.0" ,
2021-04-27 18:27:11 +00:00
"blinking" : "^0.0.4" ,
2020-03-13 13:23:30 +00:00
"bluebird" : "^3.7.2" ,
2021-05-07 01:47:10 +00:00
"chai" : "^4.3.4" ,
2019-06-19 17:23:19 +00:00
"chai-as-promised" : "^7.1.1" ,
2021-03-22 13:17:59 +00:00
"chai-like" : "^1.1.1" ,
"chai-things" : "^0.2.0" ,
2021-05-07 01:47:10 +00:00
"chokidar" : "^3.5.1" ,
2018-12-19 15:52:52 +00:00
"common-tags" : "^1.8.0" ,
2020-08-05 11:26:22 +00:00
"copy-webpack-plugin" : "^6.0.3" ,
2018-09-18 14:36:59 +00:00
"deep-object-diff" : "^1.1.0" ,
2020-08-19 11:11:52 +00:00
"docker-delta" : "^2.2.11" ,
"docker-progress" : "^4.0.3" ,
2021-03-22 13:05:49 +00:00
"dockerode" : "^2.5.8" ,
Add support for init, mem_reservation, shm_size, read_only and sysctls.
Also several bugfixes:
* Fix VPN control, logging in deviceConfig, and action executors in proxyvisor
* Fix bug in calculation of dependencies due to fields still using snake_case
* Fix snake_case in a migration, and remove unused lib/migration.coffee
* In healthcheck, count deviceState as healthy when a fetch is in progress (as in the non-multicontainer supervisor)
* Set always as default restart policy
* Fix healthcheck, stop_grace_period and mem_limit
* Lint and reduce some cyclomatic complexities
* Namespace volumes and networks by appId, switch default network name to 'default', fix dependencies in networks and volumes, fix duplicated kill steps, fix fat arrow on provisioning
* Check that supervisor network is okay every time we're applying target state
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-12-12 00:35:23 +00:00
"duration-js" : "^4.0.0" ,
2018-12-19 12:14:45 +00:00
"event-stream" : "3.3.4" ,
2020-03-13 13:23:30 +00:00
"express" : "^4.17.1" ,
2020-08-19 11:11:52 +00:00
"fork-ts-checker-webpack-plugin" : "^5.1.0" ,
"fp-ts" : "^2.8.1" ,
2020-05-15 10:49:28 +00:00
"husky" : "^4.2.5" ,
2020-08-19 11:11:52 +00:00
"io-ts" : "^2.2.10" ,
"io-ts-reporters" : "^1.2.2" ,
2020-03-23 13:06:57 +00:00
"json-mask" : "^0.3.9" ,
2020-04-14 09:56:49 +00:00
"knex" : "^0.20.13" ,
2020-08-05 11:26:22 +00:00
"lint-staged" : "^10.2.11" ,
2020-08-19 11:11:52 +00:00
"livepush" : "^3.5.1" ,
2020-03-13 13:23:30 +00:00
"lockfile" : "^1.0.4" ,
2021-05-07 15:42:44 +00:00
"lodash" : "^4.17.21" ,
2020-03-13 13:23:30 +00:00
"memoizee" : "^0.4.14" ,
2020-03-23 13:06:57 +00:00
"mixpanel" : "^0.10.3" ,
2021-05-07 01:47:10 +00:00
"mocha" : "^8.3.2" ,
2021-04-26 19:54:04 +00:00
"mock-fs" : "^4.14.0" ,
2020-03-23 13:06:57 +00:00
"morgan" : "^1.10.0" ,
2018-11-27 13:42:40 +00:00
"network-checker" : "^0.1.1" ,
2020-08-19 11:11:52 +00:00
"nodemon" : "^2.0.4" ,
2020-08-18 17:25:06 +00:00
"pinejs-client-request" : "^7.2.1" ,
2020-12-16 12:01:17 +00:00
"pretty-ms" : "^7.0.1" ,
2020-03-13 13:23:30 +00:00
"request" : "^2.88.2" ,
2020-08-19 11:11:52 +00:00
"resin-docker-build" : "^1.1.6" ,
2020-08-05 11:26:22 +00:00
"resumable-request" : "^2.0.1" ,
2020-12-18 20:10:04 +00:00
"rewire" : "^5.0.0" ,
2020-03-23 13:06:57 +00:00
"rimraf" : "^2.7.1" ,
2015-08-03 19:06:03 +00:00
"rwlock" : "^5.0.0" ,
2020-03-23 13:06:57 +00:00
"shell-quote" : "^1.7.2" ,
2021-05-07 01:47:10 +00:00
"sinon-chai" : "^3.6.0" ,
2019-01-21 11:11:50 +00:00
"strict-event-emitter-types" : "^2.0.0" ,
2021-05-07 01:47:10 +00:00
"supertest" : "^6.1.3" ,
2020-08-19 11:11:52 +00:00
"tar-stream" : "^2.1.3" ,
"terser-webpack-plugin" : "^4.1.0" ,
2019-06-19 12:56:56 +00:00
"tmp" : "^0.1.0" ,
2020-06-16 12:04:12 +00:00
"ts-loader" : "^7.0.5" ,
"ts-node" : "^8.10.2" ,
2020-08-18 17:02:13 +00:00
"typed-error" : "^3.2.1" ,
2021-04-19 15:18:21 +00:00
"typescript" : "^4.2.4" ,
2020-08-05 11:26:22 +00:00
"webpack" : "^4.44.1" ,
"webpack-cli" : "^3.3.12" ,
2020-08-19 11:11:52 +00:00
"winston" : "^3.3.3" ,
"yargs" : "^15.4.1"
2019-06-29 13:36:17 +00:00
} ,
"husky" : {
"hooks" : {
2019-07-05 10:59:44 +00:00
"pre-commit" : "lint-staged"
2019-06-29 13:36:17 +00:00
}
2021-07-05 22:50:32 +00:00
} ,
"versionist" : {
2022-03-18 22:35:28 +00:00
"publishedAt" : "2022-03-18T22:22:28.518Z"
2014-01-01 21:03:51 +00:00
}
2018-02-20 02:20:57 +00:00
}