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." ,
2020-04-09 10:51:32 +00:00
"version" : "11.1.0" ,
2016-10-24 00:04:40 +00:00
"license" : "Apache-2.0" ,
"repository" : {
"type" : "git" ,
"url" : "https://github.com/resin-io/resin-supervisor.git"
} ,
2013-12-14 05:18:20 +00:00
"scripts" : {
2016-06-16 15:10:20 +00:00
"start" : "./entry.sh" ,
2020-03-23 18:22:48 +00:00
"build" : "npm run typescript:release && webpack" ,
2020-04-06 16:29:59 +00:00
"build:debug" : "npm run typescript:release && npm run packagejson:copy" ,
2018-11-02 14:14:27 +00:00
"lint" : "npm run lint:coffee && npm run lint:typescript" ,
2020-03-23 17:44:17 +00:00
"test" : "npm run lint && npm run test-nolint" ,
"test-nolint" : "npm run test:build && TEST=1 JUNIT_REPORT_PATH=report.xml istanbul cover _mocha && npm run coverage" ,
2020-03-23 18:22:48 +00:00
"test:build" : "npm run typescript:test-build && npm run coffeescript:test && npm run testitems:copy && npm run packagejson:copy" ,
2019-06-13 09:54:39 +00:00
"coverage" : "istanbul report text && istanbul report html" ,
2019-11-12 17:02:03 +00:00
"test:fast" : "TEST=1 mocha --opts test/fast-mocha.opts" ,
"test:debug" : "npm run test:build && TEST=1 mocha --inspect-brk" ,
2020-03-26 14:44:54 +00:00
"prettify" : "balena-lint -e ts -e js --typescript --fix src/ test/ typings/" ,
2019-06-13 09:54:39 +00:00
"typescript:test-build" : "tsc --project tsconfig.json" ,
"typescript:release" : "tsc --project tsconfig.release.json && cp -r build/src/* build && rm -rf build/src" ,
"coffeescript:test" : "coffee -m -c -o build ." ,
"packagejson:copy" : "cp package.json build/" ,
"testitems:copy" : "cp -r test/data build/test/" ,
2020-04-06 16:29:59 +00:00
"lint:coffee" : "balena-lint test/" ,
2020-04-06 08:53:34 +00:00
"lint:typescript" : "balena-lint -e ts -e js --typescript src/ test/ typings/ && tsc --noEmit && tsc --noEmit --project tsconfig.js.json" ,
"sync" : "ts-node sync/sync.ts"
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" : {
2020-03-23 13:06:57 +00:00
"sqlite3" : "^4.1.1"
2017-07-01 04:07:02 +00:00
} ,
"engines" : {
2018-04-09 10:54:55 +00:00
"node" : "^6.13.1"
2017-07-01 04:07:02 +00:00
} ,
"devDependencies" : {
2019-08-23 09:16:36 +00:00
"@balena/contrato" : "^0.2.1" ,
2020-03-23 18:42:27 +00:00
"@balena/lint" : "^4.1.0" ,
2020-03-13 13:23:30 +00:00
"@types/bluebird" : "^3.5.30" ,
2020-03-23 13:06:57 +00:00
"@types/chai" : "^4.2.11" ,
2019-09-12 15:26:21 +00:00
"@types/chai-as-promised" : "^7.1.2" ,
2018-12-19 15:52:52 +00:00
"@types/common-tags" : "^1.8.0" ,
2020-03-23 13:06:57 +00:00
"@types/dockerode" : "^2.5.25" ,
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-17 13:56:31 +00:00
"@types/knex" : "^0.15.2" ,
2020-01-16 19:23:54 +00:00
"@types/lockfile" : "^1.0.1" ,
2020-01-17 13:50:25 +00:00
"@types/lodash" : "^4.14.149" ,
2020-01-16 19:23:54 +00:00
"@types/memoizee" : "^0.4.3" ,
2018-12-19 15:52:52 +00:00
"@types/mkdirp" : "^0.5.2" ,
2019-06-13 09:54:39 +00:00
"@types/mocha" : "^5.2.7" ,
2020-03-13 13:23:30 +00:00
"@types/morgan" : "^1.9.0" ,
2018-06-07 11:54:10 +00:00
"@types/mz" : "0.0.32" ,
2020-03-13 13:23:30 +00:00
"@types/node" : "^10.17.17" ,
2020-01-16 19:23:54 +00:00
"@types/request" : "^2.48.4" ,
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-03-23 13:06:57 +00:00
"@types/semver" : "^7.1.0" ,
2020-01-16 19:23:54 +00:00
"@types/shell-quote" : "^1.6.1" ,
2020-03-13 13:23:30 +00:00
"@types/sinon" : "^7.5.2" ,
2019-09-12 15:26:21 +00:00
"@types/sinon-chai" : "^3.2.3" ,
2019-06-19 12:56:56 +00:00
"@types/tmp" : "^0.1.0" ,
2020-04-06 08:53:34 +00:00
"@types/yargs" : "^15.0.4" ,
2020-02-07 15:12:43 +00:00
"balena-register-device" : "^6.0.1" ,
2020-03-13 13:23:30 +00:00
"blinking" : "~0.0.3" ,
"bluebird" : "^3.7.2" ,
"body-parser" : "^1.19.0" ,
2016-05-24 02:59:45 +00:00
"buffer-equal-constant-time" : "^1.0.1" ,
2019-06-19 17:23:19 +00:00
"chai-as-promised" : "^7.1.1" ,
2017-11-01 06:47:48 +00:00
"chai-events" : "0.0.1" ,
2020-03-23 13:06:57 +00:00
"chokidar" : "^3.3.1" ,
2018-11-05 15:42:11 +00:00
"coffee-loader" : "^0.9.0" ,
"coffeescript" : "^1.12.7" ,
2018-12-19 15:52:52 +00:00
"common-tags" : "^1.8.0" ,
2018-11-05 14:49:06 +00:00
"copy-webpack-plugin" : "^4.6.0" ,
2018-03-16 14:01:50 +00:00
"dbus-native" : "^0.2.5" ,
2018-09-18 14:36:59 +00:00
"deep-object-diff" : "^1.1.0" ,
2019-01-16 15:20:56 +00:00
"docker-delta" : "^2.2.9" ,
2020-03-23 13:06:57 +00:00
"docker-progress" : "^3.0.5" ,
"docker-toolbelt" : "^3.3.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-01-17 17:48:05 +00:00
"fork-ts-checker-webpack-plugin" : "^4.1.3" ,
2020-03-23 13:06:57 +00:00
"fp-ts" : "^2.5.3" ,
2020-03-13 13:23:30 +00:00
"husky" : "^4.2.3" ,
2020-03-23 13:06:57 +00:00
"io-ts" : "^2.1.2" ,
2019-09-05 13:38:21 +00:00
"io-ts-reporters" : "^1.0.0" ,
2017-11-01 06:47:48 +00:00
"istanbul" : "^0.4.5" ,
2020-03-23 13:06:57 +00:00
"json-mask" : "^0.3.9" ,
2020-03-13 13:23:30 +00:00
"knex" : "^0.15.2" ,
"lint-staged" : "^10.0.8" ,
2020-04-06 08:53:34 +00:00
"livepush" : "^3.2.2" ,
2020-03-13 13:23:30 +00:00
"lockfile" : "^1.0.4" ,
"lodash" : "^4.17.15" ,
2016-07-15 20:59:39 +00:00
"log-timestamp" : "^0.1.2" ,
2020-03-13 13:23:30 +00:00
"memoizee" : "^0.4.14" ,
2020-03-23 13:06:57 +00:00
"mixpanel" : "^0.10.3" ,
"mkdirp" : "^0.5.3" ,
2019-06-19 17:23:19 +00:00
"mocha" : "^5.2.0" ,
2020-03-23 13:06:57 +00:00
"morgan" : "^1.10.0" ,
2018-06-07 11:54:10 +00:00
"mz" : "^2.7.0" ,
2018-11-27 13:42:40 +00:00
"network-checker" : "^0.1.1" ,
2020-04-06 08:53:34 +00:00
"nodemon" : "^2.0.2" ,
2019-02-12 12:56:30 +00:00
"pinejs-client-request" : "^5.2.0" ,
2019-12-18 15:51:55 +00:00
"pretty-ms" : "^5.1.0" ,
2020-03-13 13:23:30 +00:00
"request" : "^2.88.2" ,
2020-03-23 14:44:27 +00:00
"resin-cli-visuals" : "^1.5.2" ,
2020-04-06 08:53:34 +00:00
"resin-docker-build" : "^1.1.4" ,
2018-02-02 14:34:28 +00:00
"resumable-request" : "^2.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" ,
2020-03-13 13:23:30 +00:00
"sinon" : "^7.5.0" ,
"sinon-chai" : "^3.5.0" ,
2019-01-21 11:11:50 +00:00
"strict-event-emitter-types" : "^2.0.0" ,
2020-04-06 08:53:34 +00:00
"tar-stream" : "^2.1.2" ,
2020-03-30 13:08:42 +00:00
"terser-webpack-plugin" : "^2.3.5" ,
2019-06-19 12:56:56 +00:00
"tmp" : "^0.1.0" ,
2020-01-16 19:23:54 +00:00
"ts-loader" : "^5.4.5" ,
2020-03-23 13:06:57 +00:00
"ts-node" : "^8.8.1" ,
2018-06-13 15:55:34 +00:00
"typed-error" : "^2.0.0" ,
2020-03-13 13:23:30 +00:00
"typescript" : "^3.8.3" ,
2020-03-23 13:06:57 +00:00
"webpack" : "^4.42.0" ,
"webpack-cli" : "^3.3.11" ,
2020-02-11 04:47:02 +00:00
"winston" : "^3.2.1" ,
2020-03-23 13:06:57 +00:00
"yargs" : "^15.3.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
}
2014-01-01 21:03:51 +00:00
}
2018-02-20 02:20:57 +00:00
}